This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

1. What is registrar?

This would be a helpful paragraph. MurrayCumming

2. Why registrar?

1. You can take the storage structure of what is being installed out of the compatibility equation. All you guarentee

2. Installs would be declarative rather than programmatic which makes possible things like finer grained security and

3. The files that the registrar can read should be standardized and made nice because they will be the compability criteria. If

<registration

</registration>

4. This gives us more information. So that we do treat more things as top-level objects because we have more metadata

5. The registrar would have a very limited set of commands: maybe registrar, query, check, & unregister. Each registrar

6. This can easily be applied lower down the stack at the system level if it works well. ie. treat services

3. Possibile candidates from the freedesktop/GNOME world

4. Possible candidates from system world (to complete the thought)

REMEMBER None of this would require changes to any of this stuff since all we initially need to do is add in the abstraction that the register will put things where they belong, even if that is exactly where they currently go.

SeanMiddleditch: I really love this idea. It's something I've been toying with for a few months now, but on a much grander scale. The really interesting part is that this is really only a step or two away from being a whole new package manager. I wonder how well it would work with things like RPM, where it simply drops in a bunch of files and then runs scripts - the package manager would need support for temporary files that it unpacks, then lets post-install script run through the registrar. Or, better yet, direct support for the registrar so packagers don't have to do all the registrar invoking and error checking by hand in a script for every package. It's something that existing package formats can use right now with some scripting work (which would continue working in the future) and that updated or new formats can make special use of. A registrar system is, I think, pretty essential to the idea of having a rock solid developer friendly application platform.

AlexGraveley: I like this idea also, but I wonder how it is different from the autopackage.org project, which seems to be functional today. Also, I wonder about how non-monolithic (mono or java) apps might work: ones that can package all their needed resources/files into a single .exe or .jar. I would really like to see support for having these sorts of apps package all the registrar-installed files internally, and just dropping them into a blessed directory would registrar/autopackage-install them.

SeanMiddleditch: AutoPackage is not at all related to this problem. First, AutoPackage is an actual packaging format, while this registrar is a mechanism to be used by a packaging format. For example, RPMs (which are going to exist for a long time yet) could use this registrar system, while they can't use anything inside of AutoPackage. Also keep in mind that AutoPackage is Linux-only, and x86-only at that (for now). A registrar would also work for source installs, custom installers, all packaging formats (even rarely used odd-ball ones), and so on.


2024-10-23 10:59