You are not logged in.
I have for some time been able to see current arch kernel packages in https://git.archlinux.org/linux.git/
But now it is empty :
"No repositories found"
Has this repository been moved or reconfigured in the past week, if so where can I find the current arch kernel packages?
Last edited by jeffm (2021-06-29 06:01:48)
Offline
Offline
Well thanks, that answers my question. But does not solve my problem and I could have been more informative about my purpose.
I have been using command curl -I <url>, in a script, to verify the existence of an arch kernel package file to help with my custom arch kernel builds and also with mainline patches from kernel.org..
eg. curl -I git.archlinux.org/linux.git/snapshot/linux-5.12.13-arch1.tar.gz
I would then parse the output text to determine existence of a particular kernel file.
So I was just hoping that the repo had simply been moved to somewhere...
Offline
Are you wanting to verify the existence of a particular kernel before attempting to download/build it? Wouldn't https://www.kernel.org/ be better for that? Or have I misunderstood the point?
# edit: what file are you looking for?
Last edited by jasonwryan (2021-06-29 05:14:23)
Offline
ok.
I use the arch package build method to update and customise my kernels
for example:
if I want to patch 5.13 to previous mainline kernel, which is 5.12.13 ( which is 5.12.13-arch1-2) , my script verifies the existence of 5.12.13-arch1-2, then downloads the patch-file from kernel.org,
the script then runs 'asp update linux', edits the PKGBUILD and runs 'makepkg' to build and install an arch kernel package.
The are a few checks on all of these steps and it all worked nicely until the website disappeared
in the example , the file to look for would be - git.archlinux.org/linux.git/snapshot/linux-5.12.13-arch1.tar.gz .. (or arch2)
'asp update' pulls the latest linux package
I thought I should make some enquiries here before I re-write my script.
rgds
Offline
I see. I do a similar thing, but just use the traditional compilation method, so I'm not dependent on ABS or Arch infrastructure.
See https://lists.archlinux.org/pipermail/a … 00522.html for the reason for the move and where you should be able to set up a new URL.
Offline
thanks, I can work with that
Offline
Offline
even better.
if I run
"curl -I https://github.com/archlinux/linux/releases/tag/v5.12.13-arch1"
I get
HTTP/2 200
server: GitHub.com
date: Tue, 29 Jun 2021 06:16:36 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With
permissions-policy: interest-cohort=()
etag: W/"4952ee0f49f906729685154cae29f7a7"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
expect-ct: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
content-security-policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com www.githubstatus.com collector.githubapp.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com cdn.optimizely.com logx.optimizely.com/v1/events translator.github.com wss://alive.github.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com online.visualstudio.com/api/v1/locations insights.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com render-temp.githubusercontent.com viewscreen.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com secured-user-images.githubusercontent.com/ *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; worker-src github.com/socket-worker-3f088aa2.js gist.github.com/socket-worker-3f088aa2.js
set-cookie: _gh_sess=RsRgB%2FmlbMJW7U55T4a4ij2raLqYnBQureJuxasyZlAUf%2F0kkud%2Bb5iqbYuYXjxqpR8JCr4SHcrjfA07s9IWYvZSO2PQDhEFsIX8K7qTJifkZp4KMTKVfwgKxzI4sIo58P0T4UOhrgDm75DJecT6RlF%2ByAK%2Bwy7jnh6V%2FQOB2bNg8KUXizI5TX7ccTCIxwJAcwwYJLi0rS0nKukXxCNXmtxlTQ3ca8iHFWVuDy7KGXVLp%2Fd5%2Bc5azcydVB84%2BNXmNEjkriD3nq1nM8CdU3zfAw%3D%3D--7eoGh8bvMYWPTFo9--vRhUYhkqaxmf2e9nVl91JQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1853182462.1624947396; Path=/; Domain=github.com; Expires=Wed, 29 Jun 2022 06:16:36 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jun 2022 06:16:36 GMT; HttpOnly; Secure; SameSite=Lax
accept-ranges: bytes
x-github-request-id: DC46:4D65:562E43:5D17CC:60DABAC4which I can easily parse with awk
[SOLVED] * 2
Offline
Your script should use either:
git ls-remote --tags
https://api.github.com/repos/archlinux/ … {tag_name} or exclude ${tag_name} and parse the entire list with jq to find out what is available
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline