GithubHelp home page GithubHelp logo

Manjaro mirror? about pacman.store HOT 11 CLOSED

rubenkelevra avatar rubenkelevra commented on May 26, 2024
Manjaro mirror?

from pacman.store.

Comments (11)

RubenKelevra avatar RubenKelevra commented on May 26, 2024 2

Alright. I start working on it tomorrow and keep you posted here. :)

from pacman.store.

RubenKelevra avatar RubenKelevra commented on May 26, 2024 1

@thibaultmol

Sorry for the huge delay, there were some higher priority tasks - for example, performance issues on the server. I couldn't add more load to it but had to change the setup.

When there's still interest in this, I can work on the small changes necessary to process a Manjaro mirror and upgrade the server for more storage to hold it too. Else it would be a bit tight.

from pacman.store.

RubenKelevra avatar RubenKelevra commented on May 26, 2024 1

I've added manjaro and endeavours to the mirror. Both yet untested.

I need to tidy up some stuff, then they will automatically be updated as well. Currently it's a manual call :)

Config (work in progress and probably still errors in it):

https://github.com/RubenKelevra/pacman.store/tree/add-further-manjaro/endeavouros-infos

I noticed also some performance issues in the last days. Will investigate that. So don't be disappointed with the current performance :)

from pacman.store.

RubenKelevra avatar RubenKelevra commented on May 26, 2024 1

sync is running now.

Please create a new bugreport if you find any issues. :)

from pacman.store.

guysv avatar guysv commented on May 26, 2024

It's gonna be a bit difficult because you need to point pacman to an ipfs gateway, without accidentally downloading the repository dbs (i.e. the repository index, which you download with pacman -Sy)

Another pitfall is that packages that you need but are not actually on IPFS gonna take a long time to time-out, which isn't fun, and you will need to go to your traditional mirror eventually. (although if you do download the repository dbs, you could know ahead of time what's available)

tl;dr using the IPFS mirror in manjaro is possible, but it needs some careful tweaks.

I guess the better approach would be to raise a separate manjaro mirror on IPFS, just be sure that packages common to both arch/manjaro get the same hash so we could share seeds cross-mirrors :)

from pacman.store.

thibaultmol avatar thibaultmol commented on May 26, 2024

from pacman.store.

guysv avatar guysv commented on May 26, 2024

Hey @thibaultmol just wanted to say I got myself a nice VPS to run IPFS on, gonna look into mirroring manjaro this weekend hopefully.

@RubenKelevra could you please share what settings do you add archlinux packages to IPFS with? I tried to reproduce this cluster package hashes on my own and failed.

E.G

$ md5sum acl-2.2.53-3-x86_64.pkg.tar.zst
3a9b685c9b40591b71495748a058df2d  acl-2.2.53-3-x86_64.pkg.tar.zst
$ ipfs cat /ipns/x86-64.archlinux.pkg.pacman.store/core/acl-2.2.53-3-x86_64.pkg.tar.zst | md5sum
3a9b685c9b40591b71495748a058df2d  -
$ ipfs resolve /ipns/x86-64.archlinux.pkg.pacman.store/core/acl-2.2.53-3-x86_64.pkg.tar.zst
/ipfs/bafykbzacecx44p2x4tqkd7bsys6vwr2hbaii4vi664j6tv2gi355drxbg6222
$ ipfs add --pin=false --chunker buzhash --hash blake2b-256 --cid-version 1 -q ./acl-2.2.53-3-x86_64.pkg.tar.zst
bafk2bzacebc2pfhf7atdt6i2j4wnw3u5pky2545hqke7vz7fc3inpso5gkune

I took those add params from here, please tell me how to get the right hash :)

from pacman.store.

guysv avatar guysv commented on May 26, 2024

my bad

$ ipfs add --pin=false --chunker buzhash --hash blake2b-256 --cid-version 1 -q ./acl-2.2.53-3-x86_64.pkg.tar.zst
bafk2bzacebc2pfhf7atdt6i2j4wnw3u5pky2545hqke7vz7fc3inpso5gkune
$ ipfs resolve /ipns/x86-64.archlinux.pkg.pacman.store/core/acl-2.2.53-3-x86_64.pkg.tar.zst
/ipfs/bafykbzacecx44p2x4tqkd7bsys6vwr2hbaii4vi664j6tv2gi355drxbg6222
$ ipfs object links /ipfs/bafykbzacecx44p2x4tqkd7bsys6vwr2hbaii4vi664j6tv2gi355drxbg6222
bafk2bzacebc2pfhf7atdt6i2j4wnw3u5pky2545hqke7vz7fc3inpso5gkune 139908

from pacman.store.

RubenKelevra avatar RubenKelevra commented on May 26, 2024

Hey @thibaultmol,

I'm already planning to include the Manjaro packages into the cluster as well. Bandwidth and space requirements are minimal since the Manjaro packages are basically just older arch ones.

There was some issues how I did the import previously which wasn't compatible with Manjaro, so I rewrote my script around 2 month ago.

But since never one showed up even interested in accessing them, I never started to import.

Should just take some days to get everything up and running in my cluster, so you could just join.

Would that be a good solution for you? 🤔

from pacman.store.

thibaultmol avatar thibaultmol commented on May 26, 2024

from pacman.store.

RubenKelevra avatar RubenKelevra commented on May 26, 2024

upgrade the server for more storage

Done

from pacman.store.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.