summaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
2019-10-17do some housekeeping and garbage collection once finishedv3.1910.1V3n3RiX
2019-10-17bugfix :V3n3RiX
* git reset --hard is a bit overkill for portage config files sync as it will reset MAKEOPTS, custom USE flags, keywords, masks etc * to preserve them, use git stash right before the hard reset, and then apply the stash
2019-10-11libsisyphus : always sync the configuration filesv3.1910.0V3n3RiX
2019-09-15regenerate portage metadata whenever we're changing the branches, rename ↵v3.1909.2V3n3RiX
some functions
2019-09-14replace subprocess.call with subprocess.Popen in sync code, rework the logic ↵v3.1909.1V3n3RiX
a bit to make it more reliable
2019-09-08More bugfixesv3.1909.0V3n3RiX
* backend : * make sync more reliable and future proof (in case we will have more branches) * while the bugfix commit 12c2d64d475552f7ccfb078613a8fbfcea1efaba fixed a long stading bug * it also slowed us down considerably triggering metadata refresh when it wasn't actually * needed. Rework the code to trigger metadata refresh only when absolutely needed * this will speed up things considerably, specially dependency resolution
2019-09-08Revert "start replacing subprocess.call with subprocess.Popen"V3n3RiX
This reverts commit 9dbe22f88fae49eac34bdb123f2e1acfc24a6a99.
2019-09-08start replacing subprocess.call with subprocess.PopenV3n3RiX
2019-09-06Bugfix && feature :V3n3RiX
* since our sync method is different than portage, sisyphus may fail to resolve dependencies properly in certain cases * copy portage's behaviour, perform global updates (SLOT moves, blockers etc) and refresh the metadata after every sync * while this will slow down the sync a little, it will accelerate dependency solving considerably
2019-08-06libsisyphus : revert to using shallow clonesv3.1908.1V3n3RiX
2019-07-14libsisyphus : remove duplicate importV3n3RiX
2019-07-08libsisyphus : take stratact's suggestion, redocument the new optionsv3.1907.0V3n3RiX
2019-07-08libsisyphus : document the new optionsV3n3RiX
2019-07-06libsisyphus : use pygit2 instead of subprocess to change branches, add ↵V3n3RiX
options to use gitlab.com or pagure.io as remote
2019-07-05bugfix : fix extraction error when two (or more) binary packages have the ↵V3n3RiX
exact same name but they aZre in different categories (e.g.: acct-group/mail-0.tbz2 && acct-user/mail-0.tbz2)
2019-07-04libsisyphus : fix a race condition && sisyphus-gui : use breeze style if ↵V3n3RiX
available
2019-06-29make messages more accurateV3n3RiX
2019-06-19bugfix :V3n3RiX
* fatal: refusing to merge unrelated histories * although shallow clones are MUCH faster, they cause some issues with diverging history * do a full clone when changing branches, and pull the full history when updating
2019-06-19accept refs that require updating .git/shallowV3n3RiX
2019-06-19do not create a local branch for next, point master to origin/nextV3n3RiX
2019-06-13add capability to switch branchesV3n3RiX
2019-06-13...V3n3RiX
2019-06-13make hybrid options default, this way one can install whatever he wants from ↵V3n3RiX
the get go
2019-06-06do a shallow pull when syncing the tree to speed up things considerably, ↵V3n3RiX
specially when switching branches
2019-06-01libsisyphus :V3n3RiX
- implement binary package cache auto cleaning mechanism - stop relying on a portage hook to clean up the binary package cache - although the portage hook works OKish, it has some severe limitations : - it is not aware of partial downloads (it can never be, since sisyphus doesn't rely on portage but uses it's internal mechanism to download binary packages) - the cleaning itself is only partial, leaving empty directories behind - if a previous cleaning has failed (keyboard interrupt), it will confuse the dependency resolver
2019-04-02more backend bugfixes: drop some redundant code, rework update and make sure ↵v2.1904.0V3n3RiX
we're always synced
2019-04-01this part became unreliable, so kick it outV3n3RiX
2019-03-21optimise the code a littleV3n3RiX
2019-03-21make syncing more robust, rely on git, not emergeV3n3RiX
2019-03-03cover some more portage errorsv2.1903.0V3n3RiX
2019-02-27libsisyphus backend :V3n3RiX
* detect when a package needs a keyword or mask change in order to proceed * print the requierd changes to stdout, and suggest user to appply them in order to proceed * this fixes a bug when sisyphus would start to download the binary dependencies of keyworded or masked packages but fail to install them due to missing keyword or mask changes sisyphus-gui : * adjust to libsisyphus backend changes
2019-02-27read portage's stderr, and expose it for our own useV3n3RiX
2019-02-26rename some variablesV3n3RiX
2019-02-08suppress some redundant portage messages already displayed by sisyphusv2.1812.2V3n3RiX
2018-12-31kindly ask our users to avoid using the main repository, and preffer mirrors ↵v2.1812.1V3n3RiX
instead
2018-12-31make search only search for binaries, implement hybrid search as an option ↵V3n3RiX
to search for binaries and/or ebuilds
2018-12-31make emerge verboseV3n3RiX
2018-11-25add support for next (testing) repositoryv2.1812V3n3RiX
2018-11-20libsisyphus.py : apply the same trick to speed up remote database retrievalV3n3RiX
2018-11-20libsisyphus : make use of tuples to get all dependency (binary,source) ↵V3n3RiX
information in one go, thus improving dependency resolution time by 100%
2018-11-15improve messageV3n3RiX
2018-11-15fix messageV3n3RiX
2018-11-14make this a bit more clearV3n3RiX
2018-11-14add dash dash :DV3n3RiX
2018-11-13increase verbosityV3n3RiX
2018-11-13libsisyphus :V3n3RiX
* implement pure source (ebuild) mode install/upgrade
2018-11-11prevent false positives when system is set to srcmode, and install/upgrade ↵V3n3RiX
is used instead of hybrid-install/hybrid-upgrade
2018-11-11libsisyphus :V3n3RiX
* implement hybrid (binary/ebuild) mode install/upgrade * pure source (ebuild) mode will follow
2018-11-11fix logic, and open up some further options for hybrid modeV3n3RiX
2018-11-11revamp helpV3n3RiX