-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a vcs module, with Git and Subversion support. #33
base: main
Are you sure you want to change the base?
Commits on May 31, 2021
-
vcs: Added a vcs module, with Git and Subversion support.
This provides a mechanism to interact with VCS-controlled projects. It currently supports Git and Subversion. The main interesting feature here is a rule to generate a version string. There are other rules for querying a directory for its properties that may also prove generally useful. There are also rules to 'fetch' from a repository into a directory and 'checkout' a symbolic reference from a directory. These could be used to forcibly get a specific revision of a package from a repository. It could also be used to create a proper source package management system within Boost.Build. There are two examples to show how this module might be used. The documentation build has not been tested. However, a reStructuredText document that should be identical to the BoostBook file is included in the doc directory for reference. There are no tests, but there are two examples that do quite a bit of work to test the module, but do not verify the results. This has been tested on Linux, OS X, and Windows. The 'type' rule fails on Windows due to `path.exists' rule failing. This needs to be investigated. This does not implement these functions in Python. It should be straightforward to do so.
Configuration menu - View commit details
-
Copy full SHA for c26ff71 - Browse repository at this point
Copy the full SHA c26ff71View commit details -
The BoostBook for the vcs module was missing several sections and had a few glaring mistakes.
Configuration menu - View commit details
-
Copy full SHA for 32cbd6b - Browse repository at this point
Copy the full SHA 32cbd6bView commit details -
vcs: Use ".. code::" instead of "::" where possible.
This is clearer than using the literal section in these cases.
Configuration menu - View commit details
-
Copy full SHA for 84161fb - Browse repository at this point
Copy the full SHA 84161fbView commit details -
vcs: Use ".. include::" to include code listings.
While this is not as portable as including the code directly, this matches the BoostBook documentation approach and makes ensuring that the reStructredText documentation is identical to the DocBook documentation.
Configuration menu - View commit details
-
Copy full SHA for 4b3906f - Browse repository at this point
Copy the full SHA 4b3906fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b310ce - Browse repository at this point
Copy the full SHA 5b310ceView commit details -
vcs: Move usage out of the reference section.
This change makes it easier to see the rules provided by the vcs module.
Configuration menu - View commit details
-
Copy full SHA for 98d623d - Browse repository at this point
Copy the full SHA 98d623dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d10082f - Browse repository at this point
Copy the full SHA d10082fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15773f9 - Browse repository at this point
Copy the full SHA 15773f9View commit details -
vcs: Backends do not currently support VMS.
Some of the syntax in the SHELL commands is not compatible with VMS.
Configuration menu - View commit details
-
Copy full SHA for 8e57bac - Browse repository at this point
Copy the full SHA 8e57bacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 843c639 - Browse repository at this point
Copy the full SHA 843c639View commit details -
vcs: Added test for the basic features.
This adds a test to test the functionality of all vcs functionality. * type * fetch * checkout, * ref * generate-version-string. This tests all backends. * Git * Subversion
Configuration menu - View commit details
-
Copy full SHA for fe71d09 - Browse repository at this point
Copy the full SHA fe71d09View commit details -
vcs: Fixed the GitHub URL in the vcs example.
This change fixes the GitHub URL for the Boost.Build project. The previous URL was correct except that it ceased to work for Subversion checkouts some time ago.
Configuration menu - View commit details
-
Copy full SHA for 4d278c5 - Browse repository at this point
Copy the full SHA 4d278c5View commit details -
vcs: Remove the vcs examples dependency on Boost.Build checkout.
This change removes the assumption that the working copy has been checked out via a supported vcs. Using the actual location of the example/vcs directory in the example was not very useful and made running the example from the test harness impossible.
Configuration menu - View commit details
-
Copy full SHA for d19c8a3 - Browse repository at this point
Copy the full SHA d19c8a3View commit details -
vcs: Do not print info in vcs example.
This change minimizes any confusion caused by unnecessary warnings.
Configuration menu - View commit details
-
Copy full SHA for 644fc93 - Browse repository at this point
Copy the full SHA 644fc93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f2f089 - Browse repository at this point
Copy the full SHA 7f2f089View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac4bd68 - Browse repository at this point
Copy the full SHA ac4bd68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96f83c8 - Browse repository at this point
Copy the full SHA 96f83c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15f29af - Browse repository at this point
Copy the full SHA 15f29afView commit details -
vcs: Ensure vcs-git protects user from git stderr.
This change ensures that stderr is not printed when an exact match, as expected, is not found. The stderr from git was confusing to users.
Configuration menu - View commit details
-
Copy full SHA for bc6a976 - Browse repository at this point
Copy the full SHA bc6a976View commit details