LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 09-26-2010, 08:46 AM   #1
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
The perfect package format: No package, but instead revision control


The package format wars are a key element of the distro wars and have been for a long time. Package management, essentially, is an automated way of installing software and as such is one of Linux's killer features. Problem is, there are several package formats, and most of the main ones are archive files with obscure formats like ar or cpio with different filename extensions.

And even the formats that truly are .tar.* archives, like Slackware's or Arch's, still are compressed archives, which still have to be properly configured, which still takes time.

Here's what I consider the future of package management: How about actually hosting the packages online as revision control trees, which are automatically synced to your root directory during an upgrade and automatically checked out to your root directory during an install. There would be no need to unpack; just check out and configure.

On top of that, they would be easier to upload to and update: Because many people could be contributing to a single "package", the revision control trees would be more up-to-date. They also would be easier to upload to: All a person would need to do is create an install root to check out the packages to, add their files, and then upload. This would ultimately save developers plenty of time that they would have taken to create the directory structure needed to build a package or create a control file (which would already be in a revision control system once one person, not any more than that person, uploads it).

Any opinions on this?

Last edited by Kenny_Strawn; 09-26-2010 at 08:49 AM.
 
Old 09-26-2010, 10:32 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
That is an interesting theory, and would make sense with something like a cluster, but I don't see how this would help with mainline Linux distros. It isn't as if all the different distros could use one communal repository, most of the distributions now are using patched or otherwise customized packages, so you would still need to maintain different CVS repositories.

If anything, this would only complicate matters. Imagine the questions we would be seeing:

Quote:
I pointed my Slackware machine's package manager to the Ubuntu CVS server because it had newer packages, and now the computer is all messed up. Help, plz".
 
Old 09-26-2010, 11:33 AM   #3
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 54
Actually, I was thinking of actually using this only for one specific distro, possibly an LFS-based one (and then using possibly a frontend to Git for the repository, which in turn is made up of Git trees with package metadata that get installed to /).
 
  


Reply

Tags
package management, revision control


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New package format for slackware 13? janhe Slackware 112 05-22-2009 03:39 PM
apt package repositories/format question Michael_S Debian 2 12-05-2006 02:40 PM
Native package format wombat53 Slackware 8 06-13-2005 07:10 PM
more control package management? hgnoel1980 Linux From Scratch 2 04-19-2005 09:45 AM
Possible NEW package format Kocil Slackware 21 09-11-2004 06:30 PM


All times are GMT -5. The time now is 07:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration