-
Notifications
You must be signed in to change notification settings - Fork 13
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
[RFC] start converting tmpfiles from shell to C #10
base: master
Are you sure you want to change the base?
Commits on May 18, 2019
-
rename tmpfiles with .sh extension in the source tree
This will make adding a compiled wrapper easier during transition.
Configuration menu - View commit details
-
Copy full SHA for 06d0455 - Browse repository at this point
Copy the full SHA 06d0455View commit details
Commits on May 21, 2019
-
We don't compile any code yet. This is just the framework split out for easier review. We'll start compiling things in follow up commits.
Configuration menu - View commit details
-
Copy full SHA for 87ee897 - Browse repository at this point
Copy the full SHA 87ee897View commit details -
start the compiled tmpfiles program
For now, we wrap the existing shell script to maintain full compat. We'll start moving over functionality in pieces so we can test.
Configuration menu - View commit details
-
Copy full SHA for dc6b720 - Browse repository at this point
Copy the full SHA dc6b720View commit details -
add test framework using gtest
We don't have any tests here yet, but provides the basic framework for adding them. The test runner can link & run fine though. Tests are written using Google Test (gtest) and in C++ to make our lives easier with more powerful data structures.
Configuration menu - View commit details
-
Copy full SHA for 9137c54 - Browse repository at this point
Copy the full SHA 9137c54View commit details -
add some memory helper functions
These will be used whenever we need to allocate memory and abort if it fails for any reason.
Configuration menu - View commit details
-
Copy full SHA for c2303e6 - Browse repository at this point
Copy the full SHA c2303e6View commit details -
add a simple set data structure
We work with a few sets, so add a data structure for it to avoid ad-hoc implementations in other modules. This is simplify a list as the sets we're working with tends to be quite small: typically less than 10. As long as we don't need to support more, the perf should be good enough.
Configuration menu - View commit details
-
Copy full SHA for ccdacdd - Browse repository at this point
Copy the full SHA ccdacddView commit details -
move cli processing to the compiled code
The shell script is no longer responsible for parsing the command line at all.
Configuration menu - View commit details
-
Copy full SHA for e2afb33 - Browse repository at this point
Copy the full SHA e2afb33View commit details -
update travis to use xenial distro
This is needed for newer gcc versions.
Configuration menu - View commit details
-
Copy full SHA for d46f44d - Browse repository at this point
Copy the full SHA d46f44dView commit details