[Nix-dev] [monitor.nixos.org]: Monitor generates patches where the subject does not fit the new scheme

phreedom at yandex.ru phreedom at yandex.ru
Sat Jun 27 15:24:01 CEST 2015


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


More information about the nix-dev mailing list