User:Allan/Pacman Source Repositories

From ArchWiki
Jump to navigation Jump to search

Pacman Source Repositories

We can create source packages and we not have a .SRCINFO file to provide the details in an "easy" format. It would be nice for pacman to have access to the source package information, and provide a function to download these.

Implementation Debate

There are (at least) two ways to implement this.

Add to current repository databases (.db)

Pros:

  • Very easy to implement

Cons:

  • Repo databases will increase in size by ~55-60%


Create a source package repository (.source)

Pros:

  • Only download source information if/when you need it (single repo db downloads?)
  • People can host source only repositories.

Cons:

  • .db and .source repositories can become out of sync
  • depends/makedepends/checkdepends will be duplicated across .db and .source repos
  • (minor) repo-add becomes more complicated due to dealing with .db, .files, and .source databases