You are not logged in.

#1 2021-06-29 04:10:09

jeffm
Member
From: victoria, australia
Registered: 2019-04-06
Posts: 26

[SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

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

#2 2021-06-29 04:27:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-06-29 05:05:02

jeffm
Member
From: victoria, australia
Registered: 2019-04-06
Posts: 26

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

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

#4 2021-06-29 05:13:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

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)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2021-06-29 05:32:15

jeffm
Member
From: victoria, australia
Registered: 2019-04-06
Posts: 26

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

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

#6 2021-06-29 05:40:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2021-06-29 05:59:49

jeffm
Member
From: victoria, australia
Registered: 2019-04-06
Posts: 26

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

thanks, I can work with that

Offline

#8 2021-06-29 06:14:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,989

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

Offline

#9 2021-06-29 06:33:56

jeffm
Member
From: victoria, australia
Registered: 2019-04-06
Posts: 26

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

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:60DABAC4

which I can easily parse with awk
[SOLVED] * 2

Offline

#10 2021-07-01 00:42:11

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED} kernel repository - git.archlinux.org/linux.git/ is empty

Your script should use either:


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB