Commits

Show all
Author Commit Message Labels Comments Date
Michał Górny
Bump PV to 0.5.
Tags
smart-live-rebuild-0.5
Michał Górny
Add an example config file and adjust sets.conf.
Michał Górny
Place default config file under /etc/portage. As smart-live-rebuild is mostly meant to be either running as 'root' or 'portage' user, it's not a good idea to use home-dependant configuration location.
Michał Górny
Support multiple profiles in config file. Option '--profile' can be used to choose from which config file section smart-live-rebuild will use config.
Michał Górny
Support detecting whether we're running under emerge. Optionally use 'psutil' Python module to traverse our process tree and find out whether we're running under emerge. If we do, then we're certainly being called as a set, and we should assume '--pretend'.
Michał Górny
Add config file informations to README.
Michał Górny
Use ~/.config dir for config -- do not pollute homedir.
Michał Górny
Change option var names to match command-line options. Now some of the option variables sound ridiculous but now configuration file keys match command-line options.
Michał Górny
Configuration file parsing support.
Michał Górny
Detach set_defaults() from option declarations.
Michał Górny
Finally add the README file.
Michał Górny
Add an example sets.conf file.
Michał Górny
Add license files.
Michał Górny
Call quickpkg even when pretending. Although it may seem confusing, calling quickpkg with '--pretend' can be pretty useful -- especially when running through portage's CommandOutputSet.
Michał Górny
Ignore '--jobs' if '--no-network' is used. Running parallel jobs is inefficient if no real updates are performed. Thus, it's acceptable to just ignore that option whenever '--no-network' is used.
Michał Górny
Output atom-formatted packages with '--pretend'. This is required in order to make '--pretend' output portage-friendly.
Michał Górny
Redirect output of called commands to STDERR. This is required in order to have clean '--pretend' output.
Michał Górny
Grammar, bump PV.
Tags
smart-live-rebuild-0.4
Michał Górny
Verbosely report the number of jobs.
Michał Górny
Pass package atoms with '>=' to emerge. As live ebuilds can be revbumped too, it should be better to pass them with '>=' operator. This way, they could be upgraded without a risk of downgrade to non-live version.
Michał Górny
Be sure to terminate all running updates on ^C. Introduce a new abortupdate() function which terminates the spawned update process. Call it on KeyboardInterrupt to make sure all update processes die ASAP.
Michał Górny
Fix SIGINT handling in forked mode. Ignore SIGINT in parent process while waiting for pickled output. This way we can nicely handle SIGINT within child and return the incomplete package list.
Michał Górny
Support updating multiple repos in parallel. Support '--jobs' argument specifying the number of repository updates which can be done in parallel.
Michał Górny
Support non-blocking variant of VCS updates. The update() function has been replaced by pair of startupdate() and endupdate(), spawning the update process and polling it respectively. The second function is non-blocking unless the 'blocking' argument is True. It returns 'None' if the update process hasn't finished yet.
Michał Górny
Really avoid rebuilding non-live packages. Use NonLiveEbuild() exception to avoid rebuilding non-live packages instead of raising a plain Exception() which causes them to be appended to force-rebuild list along with broken packages.
Michał Górny
Support calling 'quickpkg' before the update. The 'quickpkg' tool can be used to create 'backup' binary packages before performing the updates. This allows user to rollback the last update to a package by simply calling 'emerge -1k package'.
Michał Górny
Fix EGIT_COMMIT support. First of all, the variable has to be declared in optenv. Secondly, git.eclass defaults it to the branch name, so we need to check it more thoroughly. Comparing it to EGIT_BRANCH may not be the best method to check if user requested a particular commit (and not branch, for example) but that's how the eclass does it and it should be sufficient for now.
Michał Górny
Check for EGIT_COMMIT. EGIT_COMMIT is GIT equivalent of ESVN_REVISION and similar. We should check for it to make sure the package is really a live one.
Michał Górny
Bump PV.
Tags
smart-live-rebuild-0.3
Michał Górny
Python3 fix.
  1. Prev
  2. Next