CHANGELOG
Changelog for package ament_copyright
0.14.4 (2024-07-11)
0.14.3 (2024-02-07)
0.14.2 (2023-09-08)
0.14.1 (2023-04-11)
0.14.0 (2023-02-14)
[rolling] Update maintainers - 2022-11-07 (#421)
Contributors: Audrow Nash
0.13.2 (2022-09-13)
0.13.1 (2022-05-09)
0.13.0 (2022-04-29)
0.12.3 (2022-04-08)
Fix importlib_metadata warning on Python 3.10. (#365)
Contributors: Chris Lalancette
0.12.2 (2022-03-28)
0.12.1 (2022-03-01)
0.12.0 (2022-02-18)
0.11.4 (2022-01-14)
Update forthcoming version in changelogs
Contributors: Audrow Nash
0.11.3 (2022-01-14)
Update maintainers to Michael Jeronimo and Michel Hidalgo (#340)
[ament_copyright] Fix file exclusion behavior (#327) * [ament_copyright] Fix file exclusion behavior This commit fixes the faulty file exclusion behavior reported in https://github.com/ament/ament_lint/issues/326. Specifically, the exclusion list is matched against traversed files in the crawler module. Changes inspired by https://github.com/ament/ament_lint/pull/299/. * Update excluded file path in copyright tests Since file names are not indiscriminately matched throughout the search tree anymore, the excluded files listed in the copyright tests need to be updated relative to the root of the package. * Add test cases to check exclusion behavior Specifically, these tests check for: - Incorrect exclusion of single filenames. - Correct exclusion of relatively/absolutely addressed filenames. - Correct exclusion of wildcarded paths. * Add unit tests for crawler module These unit tests make sure both search and exclusion behaviors are correctly demonstrated by the ament_copyright.crawler module.
Contributors: Abrar Rahman Protyasha, Audrow Nash
0.11.2 (2021-06-18)
0.11.1 (2021-06-18)
0.11.0 (2021-06-18)
Add SPDX identifiers to the licenses. (#315)
Contributors: Chris Lalancette
0.10.6 (2021-05-06)
0.10.5 (2021-04-14)
Remove Claire as a maintainer. (#312) * Remove Claire as a maintainer. * Remove dead email addresses. * Remove more dead email addresses. * Switch setup.py maintainer to Audrow.
Contributors: Chris Lalancette
0.10.4 (2021-03-18)
0.10.3 (2021-03-03)
0.10.3
Contributors: Audrow Nash
0.10.2 (2021-02-12)
0.10.1 (2021-01-25)
add mit-0 as a valid license to ament_copyright (#284)
Support Python 3.8-provided importlib.metadata (#290) The importlib_metadata package is a backport of the importlib.metadata module from Python 3.8. Fedora (and possibly others) no longer package importlib_metadata because they ship Python versions which have the functionality built-in.
Update maintainer (#274) * update maintainer * add authors
Contributors: Claire Wang, M. Mei, Scott K Logan
0.10.0 (2020-09-18)
added bsd 2 clause simplified license to ament_copyright (#267) * added bsd 2 clause simplified license to ament_copyright
Remove use of pkg_resources from ament_lint. (#260) Replace it with the use of the more modern importlib_metadata library. There are a couple of reasons to do this: 1. pkg_resources is quite slow to import; on my machine, just firing up the python interpreter takes ~35ms, while firing up the python interpreter and importing pkg_resources takes ~175ms. Firing up the python interpreter and importing importlib_metadata takes ~70ms. Removing 100ms per invocation of the command-line both makes it speedier for users, and will speed up our tests (which call out to the command-line quite a lot). 2. pkg_resources is somewhat deprecated and being replaced by importlib. https://importlib-metadata.readthedocs.io/en/latest/using.html describes some of it Note: By itself, this change is not enough to completely remove our dependence on pkg_resources. We’ll also have to do something about the console_scripts that setup.py generates. That will be a separate effort.
Add pytest.ini so local tests don’t display warning. (#259)
Contributors: Chris Lalancette, Evan Flynn
0.9.4 (2020-05-26)
0.9.3 (2020-05-18)
Remove output on stderr for case that is not an error (#248) * Remove output on stderr for case that is not an error * Remove early return to generate xml result file
Contributors: Jorge Perez
0.9.2 (2020-05-08)
Allow AMENT_IGNORE markers to be directories (#232)
Contributors: Dan Rose
0.9.1 (2020-04-10)
0.9.0
more verbose test_flake8 error messages (same as ros2/launch_ros#135)
Generate xunit files valid for the junit10.xsd (#220)
remove status attribute from result XML (#212)
Add test case for Apache 2 (#208)
Add support for Boost Software License in ament_copyright package (#207) * Add support for the Boost Software License v1 * Add tests for boost1 license
Add support for the 3-Clause BSD license (#205) * Add support for the 3-Clause BSD license * Add missing entry setup.py file for the added license * Add test cases for .cpp and .py files * Add a newline to increase readability * Fix missing addition needed to use 3-clause bsd tests * Remove line not usable
Fix bug, allows using ament_copyright with bsd3 (#206) * Fix bug, allows using ament_copyright with bsd3 In the bs2 headers, exists a “{copyright_holder}” text that causes a problem when using the command ament_copyright to add headers to a source file. This fix adds a default value for that key, to match the original 3-Clause BSD text, and allowing to use the tool. * Add copyright_name if template includes copyright_holder reference * Revert comma addition
Contributors: Chris Lalancette, Dirk Thomas, Jacob Perron, Jorge Perez, Jose Luis Rivero
0.8.1 (2019-10-23)
install resource marker file for packages (#193)
Contributors: Dirk Thomas
0.8.0 (2019-09-17)
0.7.4 (2019-07-31)
declare pytest markers (#164) * declare pytest markers * add markers to ament_xmllint tests
Match copyright templates with differing whitespace (#160) This change makes the template matching tolerant to more whitespace differences. In particular, it makes it tolerant in the presence of tabs, consecutive spaces (such as indentation) and EOL differences.
Contributors: Dirk Thomas, Scott K Logan
0.7.3 (2019-05-09 14:08)
handle BOM properly (#142)
Contributors: Dirk Thomas
0.7.2 (2019-05-09 09:30)
0.7.1 (2019-05-07)
0.7.0 (2019-04-11)
Adding GPL (and LGPL) (#126) Tested with: ros2 pkg create foobargpl –license GPLv3 –cpp-library-name foobargpl ament_copyright ./foobargpl/ foobargpl/include/foobargpl/foobargpl.hpp: could not find copyright notice foobargpl/include/foobargpl/visibility_control.h: could not find copyright notice foobargpl/src/foobargpl.cpp: could not find copyright notice 3 errors, checked 3 files Manually copied header to foobargpl/include/foobargpl/foobargpl.hpp. foobargpl/include/foobargpl/visibility_control.h: could not find copyright notice foobargpl/src/foobargpl.cpp: could not find copyright notice 2 errors, checked 3 files ament_copyright ./foobargpl/ –add-missing “Copyright 2019, FooBar, Ltd.” gplv3 ament_copyright ./foobargpl/ No errors, checked 3 files
Contributors: Joshua Whitley
0.6.3 (2019-01-14)
0.6.2 (2018-12-06)
0.6.1 (2018-11-15)
0.6.0 (2018-11-14)
Fix lint warnings from invalid escape sequences (#111) Use raw strings for regex patterns to avoid warnings.
Extend copyright checker to allow for doxygen-style copyright (#108)
Bsd clause3 fixup (#106) * relax clause 3 matching by removing ‘the’ in front og the copyright holding entity * copyright holder doesn’t have to be a company
Adding MIT license templates. (#105) * Adding MIT license templates. * Ommitting ‘All Rights Reserved’ not in actual license.
Contributors: Jacob Perron, Joshua Whitley, Mikael Arguedas, jpsamper2009
0.5.2 (2018-06-27)
0.5.1 (2018-06-18 13:47)
level setup.py versions to 0.5.1
Contributors: Mikael Arguedas
0.5.0 (2018-06-18 10:09)
0.4.0 (2017-12-08)
remove test_suite, add pytest as test_requires
0.0.3
Merge pull request #84 from ament/flake8_plugins update style to satisfy new flake8 plugins
update style to satisfy new flake8 plugins
implicitly inherit from object (only in files not copied from somewhe… (#83) * implicitly inherit from object (only in files not copied from somewhere else) * don’t modify file copied from elsewhere
Merge pull request #81 from ament/ignore_build_spaces ignore folders with an AMENT_IGNORE file, e.g. build spaces
ignore folders with an AMENT_IGNORE file, e.g. build spaces
0.0.2
use OSI website as reference for license (#80)
Merge pull request #78 from ament/use_flake8 use flake8 instead of pep8 and pyflakes
use flake8 instead of pep8 and pyflakes
Add in support for the BSD2 license. This allows ament_copyright to properly support the BSD2 license when doing copyright checking.
Change the copyright regex to allow a (c) after the “Copyright” word. This is what is recommended by the BSD license.
Change the copyright regex to allow a comma after the year(s).
remove __future__ imports
Merge pull request #66 from ament/multiple_copyrights support multiple copyright lines
support multiple copyright lines
update schema url
add schema to manifest files
Merge pull request #42 from ament/remove_second_extension remove result type extension from testsuite name
remove result type extension from testsuite name
Merge pull request #28 from ament/pep257 add packages to check pep257 compliance
use ament_pep257
remove debug output
apply normpath to prevent ‘./’ prefix (fix #24)
Merge pull request #19 from ament/split_linter_packages_in_python_and_cmake split linter packages in python and cmake
make use of python linter packages
support excluding filenames from copyright, pep8, pyflakes check
fix variable name
Merge pull request #15 from ament/ament_copyright_reloaded add support for licenses
update doc
move apache2 snippets into separate files
add support for licenses
add trailing newline to generated test result files
Merge pull request #9 from ament/docs add docs for linters
add docs for linters
Merge pull request #8 from ament/ament_copyright add more options to ament_copyright
also handle rn newline
remove python3 dependencies
update url
update package description
add more options to ament_copyright
modify generated unit test files for a better hierarchy in Jenkins
make testname argument optional for all linters
use other linters for the linter packages where possible
Merge pull request #3 from ament/copyright_headers adding copyright headers, which are failing this module
adding copyright headers, which are failing this module
run ament_copyright and ament_pyflakes with Python 3
Merge pull request #2 from ament/ament_lint_auto allow linting based on test dependencies only
add ament_lint_auto and ament_lint_common, update all linter packages to implement extension point of ament_lint_auto
use project(.. NONE)
update to latest refactoring of ament_cmake
add dependency on ament_cmake_environment
add ament_copyright
Contributors: Chris Lalancette, Dirk Thomas, Mikael Arguedas, Tully Foote