[CDRIVER-2662] Clean up .gitignore following libmongoc sub-project move Created: 22/May/18  Updated: 28/Oct/23  Resolved: 07/Jun/18

Status: Closed
Project: C Driver
Component/s: Build
Affects Version/s: 1.10.0
Fix Version/s: 1.10.2

Type: Task Priority: Minor - P4
Reporter: Jeremy Mikola Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-2505 Make libmongoc a sub-project in mongo... Closed

 Description   

Following work in CDRIVER-2505, the root .gitignore should be updated so that all paths correspond to files produced by the current branch.

I ran into an issue where old build artifacts such as test-libmongoc were left around in the repository root despite the most recently built binaries appearing in /src/libmongoc/.

Note: It's possible that could have been avoided by using a shadow build directory; however, the Building from Git documentation did not appear to work correctly on my system as the Makefile was still produced in the repository root.

(From Jesse): The top-level .gitignore also ignores some files that never exist, e.g. we no longer build programs named "repltest1" or "test-mongoc-database". I think those are left over from an ancient implementation of the test suite.



 Comments   
Comment by Githook User [ 07/Jun/18 ]

Author:

{'username': 'ajdavis', 'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com'}

Message: CDRIVER-2662 update .gitignore
Branch: r1.10
https://github.com/mongodb/mongo-c-driver/commit/8435ec28397ec0a4a291c184fce09fad567f63e1

Comment by Githook User [ 07/Jun/18 ]

Author:

{'username': 'ajdavis', 'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com'}

Message: CDRIVER-2662 update .gitignore
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/9cfe2ea2a6025b6b0eada34a4782886e84def594

Generated at Wed Feb 07 21:15:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.