summaryrefslogtreecommitdiff
path: root/src/backend/upgrade.py
AgeCommit message (Collapse)Author
2024-02-25rename some functionsv6.2402.0V3n3RiX
2024-02-25bugfix : https://bugs.redcorelinux.org/show_bug.cgi?id=143V3n3RiX
2024-02-08getcolor -> getclrV3n3RiX
2024-02-08download -> dlpkgV3n3RiX
2023-05-20fix missing importsv6.2305.0V3n3RiX
2023-05-05bugfix : https://bugs.redcorelinux.org/show_bug.cgi?id=142V3n3RiX
2023-04-15split extra long prints into smaller ones, improve code readabilityv6.2304.0V3n3RiX
2023-04-15backend : improve the countdown timer, use it to kill the GUI whenever an ↵V3n3RiX
unsupported operation is requested
2023-04-14don't allow alien packages to be reinstalled from gui; catch them earlyV3n3RiX
2023-04-09rewrite upgrade; cleaner API : one entrypoint instead of three, handle ↵V3n3RiX
keyboard interrupt gracefully
2023-04-07rewrite updateV3n3RiX
2023-04-07download : show why and where we use output_redirection (aka, graphical ↵V3n3RiX
interface)
2023-04-07backend : rewrite the dependency solver in a more efficient wayV3n3RiX
2023-04-07backend : rewrite download in a more efficient wayV3n3RiX
2023-03-11run autopep8 on the codeV3n3RiX
2023-03-10more cryptic changesV3n3RiX
2023-03-09fetchList -> dl_list; gentooRepoDir -> g_src_dir; redcoreRepoDir -> ↵V3n3RiX
r_src_dir; portageConfigDir -> p_cfg_dir; portageCacheDir -> p_cch_dir; portageDistDir -> p_dst_dir; portageMetadataDir -> p_mtd_dir
2023-03-09isSane -> is_sane; needsConfig -> need_cfg; isBinary -> is_bin; isSource -> ↵V3n3RiX
is_src; areBinaries -> bin_list; areSources -> src_list
2023-03-09remoteTable -> rmt_tbl; localTable -> lcl_tbl; remoteCSV -> rmt_csv; ↵V3n3RiX
localCSV -> lcl_csv
2023-03-09portageOutput -> p_outV3n3RiX
2023-03-09portageExec -> p_exeV3n3RiX
2023-03-05remove double fetchV3n3RiX
2023-03-05Revert "make some noise"V3n3RiX
This reverts commit 49a117d75b6bf8a3437f8fe8ef0770b177c034d8.
2023-03-05make some noiseV3n3RiX
2023-02-14bright colours mean @world in portage's context, and sisyphus doesn't really ↵V3n3RiX
care about that aspect...don't highlight source installs as if we add them to @world
2023-02-09fix the discrepancy between sisyphus and portage colors when it comes to ↵V3n3RiX
source packages
2023-01-16new download method is more reliable, but slower...speed it up againv5.2301.1V3n3RiX
2023-01-16fix typoV3n3RiX
2023-01-12bugfix : https://bugs.redcorelinux.org/show_bug.cgi?id=132 && add manual ↵v5.2301.0V3n3RiX
cache cleaning option
2023-01-12minor tweaksV3n3RiX
2022-12-17upgrade : fix undefined variable in print outputV3n3RiX
2022-12-07backend : improve input handling in install && upgrade modulesV3n3RiX
2022-12-04add an aditional matchphrase to the dependency solver, add color support && ↵v4.2212.0V3n3RiX
pep8 the whole backend
2022-11-16change pickle database namesV3n3RiX
2022-11-13don't show file extensionsV3n3RiX
2022-11-05some more consistencyv4.2211.0V3n3RiX
2022-11-04backend : use pickle to store dependency lists across modules, split out ↵V3n3RiX
download as separate module (remove lots of duplicated code)
2022-10-30space functions a bitV3n3RiX
2022-10-30these are no longer neededV3n3RiX
2022-10-30merge upgradepkg && upgradesrcV3n3RiX
2022-09-17rearrange the backendV3n3RiX
2022-09-16bugfix :V3n3RiX
* subprocess.Popen child processes can "sometimes" generate a very large output, causing a deadlock (**cough** dependency solver **cough**) * use subprocess.Popen.communicate instead of subprocess.Popen.wait to avoid such issues * see : https://docs.python.org/3/library/subprocess.html#subprocess.Popen.wait
2021-02-08backend : we already have package category in the calculated dependency ↵v4.2102.0V3n3RiX
list, so use it and don't waste time extracting it from the tarbals
2021-02-02minor changesV3n3RiX
2021-01-30don't start from 0, but from 1 insteadv4.2101.1V3n3RiX
2021-01-30backend : show how many binaries out of how many we downloaded so farV3n3RiX
2021-01-30fix typoV3n3RiX
2021-01-30ui : move package operations into the backendV3n3RiX
2020-07-04fix some minor typosv4.2007.0V3n3RiX
2020-06-12backend : split hybrid options out ('sisyphus install pkgname --hybrid' or ↵V3n3RiX
'sisyphus upgrade --hybrid')