Musl Distros - GNU/Linux

Users browsing this thread: 1 Guest(s)
z3bra
Grey Hair Nixers
For now, I decided to focus on add/delete/list only, as they are the most important actions.
Updates will definitely be handled though, and in a simple way. Here is what I have in mind:

if package version is different in the tarball name compared to what's installed, then:

0. remove file that are not in the tarball anymore
1. unpack files from the tarball, overwriting old file
2. update the "version" file in the metadata directory

For the two first step, the only condition would be that creation time == last modification time.
If the user modified it by hand, it means we shouldn't remove it, or replace. If it's the case, then two actions will be taken:

0. warn the user that the file shouldn't exist anymore and will not be removed in the future
1. write the new file as ${filename}.new and report it to the user

I can't think of why this process would not cover all cases :)


Messages In This Thread
Musl Distros - by xikuuky - 27-12-2015, 05:01 AM
RE: Musl Distros - by xikuuky - 27-12-2015, 06:02 AM
RE: Musl Distros - by Houseoftea - 27-12-2015, 12:55 PM
RE: Musl Distros - by sth - 27-12-2015, 01:41 PM
RE: Musl Distros - by z3bra - 28-12-2015, 04:22 AM
RE: Musl Distros - by xikuuky - 28-12-2015, 06:49 AM
RE: Musl Distros - by z3bra - 28-12-2015, 08:46 AM
RE: Musl Distros - by xikuuky - 28-12-2015, 11:27 AM
RE: Musl Distros - by Houseoftea - 29-12-2015, 10:55 AM
RE: Musl Distros - by z3bra - 29-12-2015, 01:48 PM
RE: Musl Distros - by Houseoftea - 29-12-2015, 03:03 PM
RE: Musl Distros - by xikuuky - 29-12-2015, 04:48 PM
RE: Musl Distros - by z3bra - 29-12-2015, 05:11 PM
RE: Musl Distros - by xikuuky - 30-12-2015, 01:49 AM
RE: Musl Distros - by xikuuky - 30-12-2015, 12:21 PM
RE: Musl Distros - by z3bra - 30-12-2015, 09:13 PM
RE: Musl Distros - by Houseoftea - 30-12-2015, 09:52 PM
RE: Musl Distros - by z3bra - 31-12-2015, 05:21 AM
RE: Musl Distros - by z3bra - 07-01-2016, 08:28 PM
RE: Musl Distros - by apk - 07-01-2016, 10:32 PM
RE: Musl Distros - by z3bra - 08-01-2016, 08:35 AM
RE: Musl Distros - by apk - 08-01-2016, 01:09 PM
RE: Musl Distros - by z3bra - 15-01-2016, 08:51 AM
RE: Musl Distros - by venam - 16-01-2016, 03:52 AM
RE: Musl Distros - by XcelQ - 24-01-2016, 01:10 PM
RE: Musl Distros - by z3bra - 09-02-2016, 07:56 AM
RE: Musl Distros - by venam - 09-02-2016, 09:52 AM
RE: Musl Distros - by z3bra - 09-02-2016, 10:00 AM
RE: Musl Distros - by z3bra - 15-06-2017, 06:22 AM
RE: Musl Distros - by jkl - 15-06-2017, 09:13 AM
RE: Musl Distros - by Pieces Of Quiet - 15-06-2017, 02:16 PM
RE: Musl Distros - by jkl - 07-02-2018, 08:20 AM
RE: Musl Distros - by z3bra - 07-02-2018, 11:38 AM
RE: Musl Distros - by evbo - 07-02-2018, 01:24 PM
RE: Musl Distros - by jkl - 07-02-2018, 04:43 PM
RE: Musl Distros - by z3bra - 07-02-2018, 07:20 PM
RE: Musl Distros - by jkl - 07-02-2018, 07:23 PM
RE: Musl Distros - by evbo - 07-02-2018, 08:24 PM
RE: Musl Distros - by z3bra - 08-02-2018, 04:51 AM
RE: Musl Distros - by jkl - 08-02-2018, 04:53 PM