Repos and indexes #1

Open
opened 2024-11-21 15:39:09 +01:00 by strix · 2 comments
Owner

PKGR is in need of a repo and packages.
because im lazy im going to do it very simply.

repo index file draft (loc: /var/lib/pkgr/repos/repo_name/index.list

# pkgr index file
# pkg_name pkg_file_uri
pkgr https://git.saluco.nl/strix/packager/releases/download/v0.1.0-alpha4/pkgr.pkg
bootpkg https://git.saluco.nl/strix/packager/releases/download/v0.1.0-alpha4/bootpkg.pkg
firefox https://pkgr.saluco.nl/_/firefox/v1.0/pkg

As far as I know this should be enough to atleast have repos.

this does mean we're probably going to add a new file type .pkgmanifest, this is a half-ass file because it's only for details.
the location of this will be at /var/lib/pkgr/repos/repo_name/manifests/*.pkgmanifest

this means changing /pkgr/skel/etc/pkgr.toml's storage.index_dir to storage.repo_dir and using the repo dir for what it is, a repo.

pkgr update will become the index update command and pkgr upgrade for packages.

PKGR is in need of a repo and packages. because im lazy im going to do it very simply. repo index file draft (loc: `/var/lib/pkgr/repos/repo_name/index.list` ``` # pkgr index file # pkg_name pkg_file_uri pkgr https://git.saluco.nl/strix/packager/releases/download/v0.1.0-alpha4/pkgr.pkg bootpkg https://git.saluco.nl/strix/packager/releases/download/v0.1.0-alpha4/bootpkg.pkg firefox https://pkgr.saluco.nl/_/firefox/v1.0/pkg ``` As far as I know this should be enough to atleast have repos. this does mean we're probably going to add a new file type `.pkgmanifest`, this is a half-ass file because it's only for details. the location of this will be at `/var/lib/pkgr/repos/repo_name/manifests/*.pkgmanifest` this means changing `/pkgr/skel/etc/pkgr.toml`'s `storage.index_dir` to `storage.repo_dir` and using the repo dir for what it is, a repo. `pkgr update` will become the index update command and `pkgr upgrade` for packages.
strix added the
enhancement
label 2024-11-21 15:39:45 +01:00
Author
Owner

repo servers would use something like
https://pkgs.saluco.nl/index.list for the index.
https://pkgs.saluco.nl/_/firefox/v1.0/pkg for the pkg

it's just a file server 😉

repo servers would use something like `https://pkgs.saluco.nl/index.list` for the index. `https://pkgs.saluco.nl/_/firefox/v1.0/pkg` for the pkg it's just a file server 😉
Author
Owner

probably means changing version structure in pkgr....

probably means changing version structure in pkgr....
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: strix/packager#1
No description provided.