summaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
2020-06-20backend : adjust to changed optionsV3n3RiX
2020-06-13branchsetup : use GitPython instead of subprocessV3n3RiX
2020-06-12backend : split hybrid options out ('sisyphus install pkgname --hybrid' or ↵V3n3RiX
'sisyphus upgrade --hybrid')
2020-06-11let's make sure our imports are saneV3n3RiX
2020-06-11branchsetup : split into multiple functions, warn users about the binary ↵V3n3RiX
repository/branch compatibility once the switch is completed
2020-06-10branchsetup : new generic module, drop old branchinject, branchmaster && ↵V3n3RiX
branchnext modules; plug the new module into the new cli client -> works magic
2020-06-09sisyphus-cli : plug more functions : install, uninstall, forceuninstall, ↵V3n3RiX
update, upgrade, rescue, spmsync, autoremove - all work
2020-06-09make search workV3n3RiX
2020-06-09sisyphus-cli : import the backend into the new client, plug the mirror ↵V3n3RiX
module -> mirror setup works
2020-06-09cli-frontend : make the new client the default clinetV3n3RiX
2020-06-08rename some constants to something more prettyV3n3RiX
2020-06-07update __init__.pyV3n3RiX
2020-06-07add spmsync option backV3n3RiX
2020-06-06filesystem module : gather all the folder and file paths used by sisyphus ↵V3n3RiX
under one module, and expose them to other modules from there
2020-06-06minor fixes, make the gui client work with the new backendV3n3RiX
2020-06-06populate __init__.py to simplify the client imports, ignore some irrelevant ↵V3n3RiX
errors
2020-06-06big rewrite : split the backend in smaller pieces, rework the cli frontend ↵V3n3RiX
to work with the new backend ... gui frontend wip
2019-12-31libsisyphus : undecorateV3n3RiX
2019-12-31libsisyphus : decorate metadata refresh function...it will give an aditional ↵V3n3RiX
clue of what is happening
2019-12-19libsisyphus: fix parser confusion when some package triggers a number of ↵V3n3RiX
rebuilds
2019-10-18be quietV3n3RiX
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