Linked by Thom Holwerda on Mon 5th May 2008 21:00 UTC
OSNews, Generic OSes Ever since I started using computers, I've been baffled by the relative clumsiness of installing applications. Whether we are talking the really old days (launching the Rambo game off a tape), the '90s (running Keen or using installers in Windows 95), or the modern days (still those installers, but now also package management and self-contained applications); it's all relatively cumbersome, and they all have their downsides. I decided to put my money where my mouth is, and come up with my idealistic, utopian method of installing, running, updating, and uninstalling applications.
Thread beginning with comment 312983
To read all comments associated with this story, please click here.
Designed for Haiku?
by leavengood on Mon 5th May 2008 23:16 UTC
leavengood
Member since:
2006-12-13

Hi Thom,

One of my many pet projects for Haiku has been a new "package format" for applications as well as a consistent updating mechanism and some sort of central application repository.

This might make a good initial design, since you make use of the live queries that we will have in Haiku. Overall it sounds pretty good.

I think the permissions system you describe could also be implemented.

But I think the file system layout will need to remain in the standard BeOS format we are inheriting. But I still think much of your design could still be used for that. For one thing I don't see why you need a separate /Settings hierarchy when you could just have /Users/User 1/Settings or in Haiku /boot/home/user/config. Of course the multi-user aspects of Haiku are still in flux and probably won't be sorted out until R2.

Reply Score: 3

RE: Designed for Haiku?
by Thom_Holwerda on Mon 5th May 2008 23:35 in reply to "Designed for Haiku?"
Thom_Holwerda Member since:
2005-06-29

This might make a good initial design, since you make use of the live queries that we will have in Haiku. Overall it sounds pretty good.


You're right Ryan, this whole thing actually started out as a discussion in #haiku a long time ago. I was just musing aloud at how you could use the attributes and live queries in BFS to manage applications, and from there, this whole idea started to grow.

So it makes sense that my ideas fit Haiku so well.

For one thing I don't see why you need a separate /Settings hierarchy when you could just have /Users/User 1/Settings or in Haiku /boot/home/user/config.


The reason I chose for a separate hierarchy is because I want the /User/User 1 directory to be strictly a directory for the user's documents, movies, photos, pr0n, and so on. I'm someone with a strong inclination towards order and cleanliness, so you can imagine why I'd like to not put settings files into the home directory.

And thanks for the compliments ;) . I've spent a lot of time on this proposal, and I believe I'm only scratching the surface of what attributes+live queries+program bundles can equate to. If you want to discuss this in more detail for whenever the package management plans for R1+1 come up, feel free to contact me, I'd love to participate in that discussion ;) .

Reply Parent Score: 1

RE[2]: Designed for Haiku?
by renox on Tue 6th May 2008 07:44 in reply to "RE: Designed for Haiku?"
renox Member since:
2005-07-06

I don't think that separating the user and its setup configuration files is a good idea: this means that when you want to backup your account, you need to save two directories not one..

As for the cleaness point of view as long as all the configuration files are in the setting directory, I don't think that this is dirty.

That said, I've been convinced recently that purely hierarchical file is impossible to get 'right' so if the user documents and his configuration file are tagged by his login name (automatically) then the backup of the user's data becomes far more easy..

Reply Parent Score: 3

RE[2]: Designed for Haiku?
by Kroc on Tue 6th May 2008 08:15 in reply to "RE: Designed for Haiku?"
Kroc Member since:
2005-11-10

I always see my User folder as "everything that makes this computer unique to me". That includes my settings, so I can backup just one folder, and even move it to another computer and log in with everything there.

Reply Parent Score: 4