Skip to content
This repository was archived by the owner on Jan 14, 2023. It is now read-only.

Commit 9e97843

Browse files
author
Martin Pecka
committed
Improved .gitignore to ignore all downloaded packages, not only *_msgs.
The .gitignore file is recreated after jenkins/reindex_release_message_dependencies is run and is not a part of the repository to decrease the number of changes introduced by every run of the reindexing.
1 parent da5cc2f commit 9e97843

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore renamed to .gitignore.static

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.gradle
2+
.gitignore
23
build
34
*_msgs*
45
!rosjava_test_msgs

jenkins/reindex_release_message_dependencies

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ if __name__ == "__main__":
8888
f.write(contents)
8989
with open(package_xml_path, 'w') as f:
9090
f.write(new_package_xml)
91+
# update .gitignore with all the packages from package.list
92+
os.system('cat .gitignore.static package.list | awk \'{print $1;}\' > .gitignore')
9193
console.pretty_println("package.xml and package.list updated.\n")
9294
sys.exit(1) # drop out with failure so I get an email (until I can automate a rosdistro pull request).
9395

0 commit comments

Comments
 (0)