Difference between revisions of "User:Allan/Pacman Source Repositories"

From ArchWiki
Jump to: navigation, search
(Created page with "=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 ac...")
 
(Create a source package repository (.source))
Line 19: Line 19:
  
 
'''Pros:'''
 
'''Pros:'''
* Only download source information if/when you need it
+
* Only download source information if/when you need it   (single repo db downloads?)
  
 
'''Cons:'''
 
'''Cons:'''
 
* .db and .source repositories can become out of sync
 
* .db and .source repositories can become out of sync
 
* (minor) repo-add becomes more complicated due to dealing with .db, .files, and .source databases
 
* (minor) repo-add becomes more complicated due to dealing with .db, .files, and .source databases

Revision as of 11:20, 5 July 2015

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?)

Cons:

  • .db and .source repositories can become out of sync
  • (minor) repo-add becomes more complicated due to dealing with .db, .files, and .source databases