summaryrefslogtreecommitdiffstats
path: root/mgaapplet-upgrade-helper
Commit message (Collapse)AuthorAgeFilesLines
* fix my emailThierry Vignaud2013-12-161-1/+1
|
* s/gtk2/gtk3/ in commentsThierry Vignaud2013-12-061-1/+1
|
* use (my|u)gtk3 instead of *tk2Thierry Vignaud2013-12-031-16/+16
|
* Do not handle priority upgrades specially. This is now fixed in urpmi itselfColin Guthrie2013-05-191-10/+3
|
* Do not pass invalid --nocheck option to urpmi.updateColin Guthrie2013-05-191-1/+1
|
* no need to initialize variablesThierry Vignaud2013-05-161-2/+1
| | | | (should have been caught by perl_checker but it didn't)
* simplifyThierry Vignaud2013-05-161-2/+2
|
* perl_checker cleanupThierry Vignaud2013-05-161-1/+1
|
* Work around rpmdb error by insisting rpm+urpmi are installed first.Colin Guthrie2013-05-151-3/+10
| | | | | | | | | | | | | | | | | | | | (g)urpmi will install priority upgrades first then restart itself. If the priority upgrades happen to be installed in more than one transaction code in the rpm packages %post script to clear out the rpmdb index files could be run after the first transaction and then the second transaction could regenerate these indexes using the current libdb version in memory. This results in the rpmdb not being readable and requires manual intervension. If the initial priority upgrades are handled in a single transaction this does not occur and the rpmdb indexes are regenerated with the correct libdb. This is a workaround to ensure that the first (g)urpmi run is completed in a single transaction but it shoud only update enough to ensure urpmi and rpm are upgraded. The normal --auto-select cycle can continue thereafter. Ideally this would actually be fixed in urpmi to ensure that any priority updates are handled within a single transaction.
* Move gurpmi arguments into the fork_gurpmi function.Colin Guthrie2013-05-151-6/+4
| | | | | The arguments are currently split up between run_gurpmi and fork_gurpmi for no particular reason.
* Ensure nonfree/tainted media is kept enabled on distro upgrade.Colin Guthrie2013-05-131-0/+39
| | | | | | | | Patch from Maarten Vanraes and Dave Hodgins and tweaked by me for trunk. mga#6061
* upgrade-helper: Move the code to a sub (no functional change)Colin Guthrie2013-05-101-36/+40
|
* perl_checker cleanupThierry Vignaud2013-04-301-4/+4
|
* Add support for upgrades that need some form of preparation before continuing.Colin Guthrie2013-04-281-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | The basic principle of this is to do the following: 1. Check the releases webservice API to see if the distro version 'needs_preparation'. 2. If it does, check for a file /var/lib/mageia-prepare-upgrade/state. If it says 'ready' then we are ready and the user is not questioned further. 3. If it does not exist or says anything else, the user is prompted to install the package 'mageia-prepare-upgrade'. 4. After package installation, check the state file again as this may be all that is required. If the state file does not yet say 'ready', then display the text from the /usr/share/doc/mageia-prepare-upgrade/README.prepare file (todo: add i18n) 5. Assuming that further action is required by the user (e.g. rebooting to convert the filesystem), then the upgrade helper will exit. 6. After the user has taken the action required to do the preparation, the state file should contain 'ready'. The next time the distro upgrade dialog shows, the preparation checks will pass and the user can continue. TODO: Handle i18n in the README.prepare file. v1: First Revision v2: Check immediately if an upgrade state file exists (don't wait 5 mins) Ensure config file is parsed (ensures the testing variable is read) Show user-visible messages when bailing out due to unexpected errors
* The $root variable is defined and exported from the mgaonline.pm file.Colin Guthrie2013-04-281-1/+1
|
* Exit if we don't pass --new_distro_version agument.Colin Guthrie2013-04-281-0/+2
|
* do not opencode get_product_id()Thierry Vignaud2013-04-261-1/+1
| | | | (spot by Colin)
* drop support for Enterprise & PowerPack media (mga#6292)Thierry Vignaud2012-09-061-113/+0
|
* (upgrade) invalidate urpmi cache on upgrade (mga#1588)Thierry Vignaud2012-04-211-0/+3
|
* - stop using Mandriva URLs and replace them by www.mageia.org (mga#1590)Kamil Rytarowski2012-03-151-1/+1
| | | | | | | | - replace Mandriva strings by Mageia in gnome-mandrakeonline.desktop - replace MIME Type application/x-mdv-exec by application/x-mga-exec - extend $MGA_YEARS in mgaupdate to 2012 - delete MANDRIVA_VERSION variable as not used
* move gurpmi upgrade log to .MgaOnline/ too so /root stays cleanThomas Backlund2011-05-281-1/+1
|
* dont pollute homedir with urpmi.cfg backup filesThomas Backlund2011-05-281-1/+1
|
* disable suggesting powerpack upgrade (mga #1153)Thomas Backlund2011-05-281-3/+5
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵2.77.22Mageia SVN-Git Migration2011-05-141-0/+364
with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r1310 | dmorgan | 2011-05-14 01:22:07 +0100 (Sat, 14 May 2011) | 1 line Import cleaned mgaonline ------------------------------------------------------------------------