You are not logged in.
$ pkgctl repo clone linux-hardened [255]
==> Cloning linux-hardened ...
Cloning into 'linux-hardened'...
git@gitlab.archlinux.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.even though i added the key in the first run... no files are created
$ pkgctl repo clone --unprivileged linux-hardened [255]
==> Cloning linux-hardened ...
Cloning into 'linux-hardened'...
remote: Enumerating objects: 1925, done.
remote: Counting objects: 100% (1925/1925), done.
remote: Compressing objects: 100% (1087/1087), done.
remote: Total 1925 (delta 837), reused 1925 (delta 837), pack-reused 0
Receiving objects: 100% (1925/1925), 475.74 KiB | 7.32 MiB/s, done.
Resolving deltas: 100% (837/837), done.
==> ERROR: invalid argument: --unprivilegedi get the desired files + a .git folder with files
git clone https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened.gitworks as expected
Last edited by espritlibre (2023-05-22 21:11:12)
Offline
`pkgctl repo clone --unprivileged` needs some fixes. See https://gitlab.archlinux.org/archlinux/ … issues/132.
For now you can use `git clone https://gitlab.archlinux.org/archlinux/packaging/packages/${pkgbase}.git/`. Note that some pkgbase names are not allowed as GitLab repo names, and
those names are transformed with these rules: https://gitlab.archlinux.org/archlinux/ … ns-git#L48.
Offline
You can also work around this with a rule in ~/.gitconfig:
[url "https://gitlab.archlinux.org/"]
insteadOf = git@gitlab.archlinux.org:Offline
thank you both, the tip with the .config file works
Offline