View Issue Details

IDProjectCategoryView StatusLast Update
0005963unrealinstallingpublic2021-12-30 00:55
ReporterLord255 Assigned To 
PrioritylowSeveritytweakReproducibilityalways
Status newResolutionopen 
PlatformlinuxOSubuntuOS Version20.04
Product Version5.2.1 
Summary0005963: clean up after successfull upgrade
Description\o

just upgraded from v5.0.9 to v5.2.1.1 via the "upgrade" command (./unrealircd upgrade)
i'm missing the cleanup after it.


$ ls -tlr src/
total 12124
-rw-rw-r-- 1 lord lord 5210836 Mar 26 08:36 unrealircd-5.0.9.1.tar.gz
-rwxrwxr-x 1 4450 Jun 4 10:44 unrealircd-upgrade-script.stage2
-rw-rw-r-- 1 866 Jun 4 10:44 unrealircd-upgrade-script.stage2.asc
-rw-rw-r-- 1 866 Jul 10 08:58 unrealircd-latest.tar.gz.asc
-rw-rw-r-- 1 7174342 Jul 10 08:58 unrealircd-latest.tar.gz
drwx------ 7 4096 Jul 11 17:06 unrealircd-5.0.9.1
drwx------ 7 4096 Jul 11 17:09 unrealircd-5.2.1.1

.stage2, .stage2.asc,.gz.asc not really necessary i presume.

one more thing:
the *-latest.tar.gz bothers me, cuz there is no real version included there.
could you somehow make a link while dl the latest, so it should point to the file with the version included?
i like to keep the tar.gz -s, but also that could be deleted as well, no need to keep since the source folder swill stay.

thx!
cheers!
Steps To Reproduceuhm.
1, ./unrealircd upgrade
2, check dir with the source / downloaded stuff
Additional Information-
Tagsunreal5, upgrade
3rd party modules-

Activities

Lord255

2021-10-04 09:38

reporter   ~0022138

up and:

also should do a cleanup on the backed up folders too? (maybe tar.gz them btw?; logs can take up lots of space?)

ex:
unrealircd.bak.xxxxxxxxxxxxx.xxxxxxxxx
unrealircd.bak.xxxxxxxxxxxxx.xxxxxxxxx

syzop

2021-12-29 09:37

administrator   ~0022323

Last edited: 2021-12-29 09:37

A small bit of this has been done:
The unrealircd-upgrade-script.stage2 and unrealircd-upgrade-script.stage2.asc now get removed after running stage2 (so in by far most of the cases)

Lord255

2021-12-30 00:55

reporter   ~0022324

mhm.

$ ls -tlr
-rw-rw-r-- 1 866 Dec 29 10:47 unrealircd-upgrade-script.stage2.asc
-rwxrwxr-x 1 5154 Dec 29 10:47 unrealircd-upgrade-script.stage2
-rw-rw-r-- 1 866 Dec 29 19:34 unrealircd6.tar.gz.asc
-rw-rw-r-- 1 8616313 Dec 29 19:34 unrealircd6.tar.gz
drwx------ 7 4096 Dec 30 00:41 unrealircd-6.0.1.1

? :)

also i don't rly like the fn of the downloaded version (unrealircd6.tar.gz); it's not really pointing out which version is that. (though the tar.gz doesn't rly necessary, could have been cleaned up. :))
(but so the cleanup which you mentioned not working i think :( - i saw the commit though, but that rm -rf does not work)

if you could log out a msg like "a little cleanup.." i would search for it in the session log (on screen).
(i can test the "fix" out tomorrow or something)

Issue History

Date Modified Username Field Change
2021-07-11 18:01 Lord255 New Issue
2021-07-11 18:01 Lord255 Tag Attached: unreal5
2021-07-11 18:01 Lord255 Tag Attached: upgrade
2021-10-04 09:38 Lord255 Note Added: 0022138
2021-12-29 09:37 syzop Note Added: 0022323
2021-12-29 09:37 syzop Note Edited: 0022323
2021-12-30 00:55 Lord255 Note Added: 0022324