proud-dentist-22844
03/11/2023, 1:52 AMbitter-ability-32190
03/11/2023, 2:01 AMproud-dentist-22844
03/11/2023, 2:25 AM# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# <http://www.apache.org/licenses/LICENSE-2.0|http://www.apache.org/licenses/LICENSE-2.0>
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
bitter-ability-32190
03/11/2023, 2:31 AMproud-dentist-22844
03/11/2023, 2:33 AM"**/*.py:!**/__init__.py": |+
# Copyright $year The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# <http://www.apache.org/licenses/LICENSE-2.0>
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
proud-dentist-22844
03/11/2023, 2:34 AMcontent_patterns:
- name: python_header
pattern: |+
^(?:#\!\/usr\/bin\/env python3
)?# Copyright 20\d\d The StackStorm Authors.
(?:# Copyright 20\d\d .*
)*#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# <http://www.apache.org/licenses/LICENSE-2.0>
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
proud-dentist-22844
03/11/2023, 2:35 AMbitter-ability-32190
03/11/2023, 2:36 AMproud-dentist-22844
03/11/2023, 2:52 AMtemplate_by_globs
could be a dict of two templates instead of a string:
<globs>:
match: <regex string>
new: "bla bla $year bla bla"
bitter-ability-32190
03/11/2023, 3:30 AMproud-dentist-22844
03/11/2023, 4:03 AMproud-dentist-22844
03/11/2023, 4:36 AMst2-pack-install
(no extension) is owned by a python_sources
target, then it should also get picked up by preamble.bitter-ability-32190
03/11/2023, 12:40 PM