Commits

Author Commit Message Labels Comments Date
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.
Michał Górny
Simplification and unification - replace hassavedrev() with getsavedrev(), and use that within update() instead of localrev arg to getrev().
Michał Górny
ESVN_WC_REVISION support.
Michał Górny
Support emerging packages for which the update failed.
Michał Górny
Use pickle for IPC - this way we avoid reinventing the wheel and can transfer more information than just the package list.
Michał Górny
Use 'Last Changed Rev' instead of 'Revision' for subversion; this should partially fix issues with repos shared between many projects.
Michał Górny
Support --no-network to quickly aggregate already updated repos (i.e. after aborted rebuild).
Michał Górny
Portage does VCS checkouts in src_unpack(), thus we should rely on userpriv, not userfetch.
Michał Górny
Ignore KeyboardInterrupt in parent process when waiting for child output; let the child handle it.
Tags
smart-live-rebuild-0.2
Michał Górny
Move the 'rebuilds' var around.
Michał Górny
Introduce dual-licensing.
Michał Górny
Bumping version.
Michał Górny
Ling.
  1. Prev
  2. Next