-
Notifications
You must be signed in to change notification settings - Fork 50
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
Factor out some file-generation machinery #181
Factor out some file-generation machinery #181
Commits on Mar 6, 2024
-
introduced a shell-script to factor out some file-generation stuff fr…
…om the main Makefiles.
Configuration menu - View commit details
-
Copy full SHA for 0840b40 - Browse repository at this point
Copy the full SHA 0840b40View commit details
Commits on Mar 25, 2024
-
More refactoring of autogeneration. We now use standard template file…
…s. Autogeneration should now be a lot more transparent.
Configuration menu - View commit details
-
Copy full SHA for dea6224 - Browse repository at this point
Copy the full SHA dea6224View commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dc4b38d - Browse repository at this point
Copy the full SHA dc4b38dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07e1d76 - Browse repository at this point
Copy the full SHA 07e1d76View commit details
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 11d49b9 - Browse repository at this point
Copy the full SHA 11d49b9View commit details
Commits on Apr 21, 2024
-
Modified docs to load version from VERSION file
This was achieved by tweaking `doc/source/conf.py`. This triggered a few cascading changes: 1. I needed to rename `config/query-version.py` to `config/query_version.py` so that it's contents could be properly imported 2. I needed to slightly tweak the internals of `config/query_version.py` so that the function returned values (instead of directly printing the value). To reflect this change in behavior, I changed a function name from `show_version` to `query_version` 3. While doing this, I also fixed a bug in some functionality from `config/query_version.py` that was intended to strip off a trailing '\n' character from the result of a shell command. In some cases, a trailing line-break might not be present and the functionality accidentally striped off a different character instead. 4. I needed to adjust a path in `src/clib/Makefile` to reflect the new name of the `config/query_version.py` script
Configuration menu - View commit details
-
Copy full SHA for 1a5d6c3 - Browse repository at this point
Copy the full SHA 1a5d6c3View commit details
Commits on May 7, 2024
-
Bugfix: move LIB_RELEASE_VERSION definition between Makefiles
Previously, `LIB_RELEASE_VERSION` was defined in `src/clib/Make.config.assemble`. - This was fine, when `LIB_RELEASE_VERSION` was assigned a hardcoded value - however, after we started to use a script to retrieve this value, error messages were printed whenever we invoked the `src/example/Makefile` (to build code-examples) - The error messages arise because the path to the script was encoded within the `QUERY_VERSION` variable and that variable was not defined when `src/example/Makefile` included `src/clib/Make.config.assemble` - Since script-path is only defined within `src/clib/Makefile` I decided to move the definition of `LIB_RELEASE_VERSION` to that file. NOTE: since the `LIB_RELEASE_VERSION` wasn't actually used by `src/example/Makefile` the error-messages before this commit were entirely benign.
Configuration menu - View commit details
-
Copy full SHA for 9f4fa15 - Browse repository at this point
Copy the full SHA 9f4fa15View commit details -
Configuration menu - View commit details
-
Copy full SHA for b444023 - Browse repository at this point
Copy the full SHA b444023View commit details -
Remove
tail
invocation fromconfig/query_version.py
The required logic to fetch the last line of the file is now implemented in python. The logic loops over all lines from the VERSION file (from beginning to end) and returns the final non-empty line. This is fine for the VERSION file which should really just be 1 line (but is suboptimal for large files)
Configuration menu - View commit details
-
Copy full SHA for 061f3be - Browse repository at this point
Copy the full SHA 061f3beView commit details