On Friday, June 26, 2015 16:55:43 Matthias Beyer wrote: > Hi, > > just wanted to report this: monitor.nixos.org generates patches which > do not fit the new scheme of how to name package update commits. > > Someone fix this please, as I'm developing a script[0] which uses > monitor.nixos.org to generate commits and I want to develop it even > further so one can auto-generate-and-build patches for N packages > automatically. > > [0]: https://github.com/matthiasbeyer/nixos-scripts/pull/25
Assuming that you want to extract package name and new version strings, both the monitor's current scheme and the new scheme have a fairly similar structure. You could easily write a generic enough regexp Or we can wait for Rob to go back since he holds the keys to the monitor's production instance Btw, this could be useful for your script: http://stackoverflow.com/questions/2180270/check-if-current-directory-is-a-git-repository _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
