depends rework thoughts.
ratler at lunar-linux.org
ratler at lunar-linux.org
Tue Dec 9 08:22:25 GMT 2003
Instead of using bitfields or maybe in combination with I would like to
see an option to lin and lunar that will use a default setting for the
optional depend without asking at all. I don't think setting bitfields for
every optional depend is optimal, only bring in more confusion.
Well that is my 2 cents.
Sincerly
Stefan Wold
On Mon, 8 Dec 2003, Steven Michalske wrote:
> missing info
>
> flags for optional depends will have a default status bitfield type thingy.
>
> the bitfield will be something like this
> levels of build
>
> unsupported = 0 (only fullSAconfig can see these ones)
> ask_about_all = 1
> minimal_no_ask = 2
> normal_no_ask = 4
> safe_extras_no_ask = 8
> extream_bloat_no_ask = 16 AKA i want it all :-P
>
> add more? yea names need devlopment too
>
> in the lunar options menus you would set your choice modes and if you set 2 -
> 16 youll wouldent be asked about any optional depends
>
> also for the new optional depends the module and its info would be passed as
> bash arrays of 5 elements
>
> optmod = ( modulename modeincludesflags --with --without "decstiption stuff
> here" )
> the space seperates the info
> and to get the info
> ${optmod[0]} through ${optmod[4]}
> i believe this will work ans would allow bunches of one of many optional
> depends
>
> if and optional depends had multiple arrays passed to it then a list would be
> given and a index asked for for which to include.
> if in no_ask modes then if one is already installed, then the lowest filled
> bit field module used, then first non exiled and so one
>
> theres some more food for thought
> steve
>
> On Monday 08 December 2003 10:37 pm, Steven Michalske wrote:
> > Hey team,
> >
> > With christmas break comming up i decided what my winter project will be.
> >
> > Start working on an improved depends system.
> > I have talked about this with elaine mostly and now I want your opinions
> > and thoughts on this matter.
> >
> > what that has come out of our dicussions is this.
> >
> > mode flags for the various types of depends
> >
> > normal : plain you must have this to work at all times
> > optional : this can be selected as optional
> > note optional depends will have a defaults flag.
> > rebuild: if the depender module is rebuilt then this module is rebuild
> > example: linux is a rebuild depends of pcmcia-cs
> > run: this flag specified that this must be present to run the module but
> > not to build the module
> > build: this module is only needed in the build process
> > e.g. something is required to to prase source code in a build step.
> > one of many: (needs a good name) a list of modules that equate to the
> > same
> >
> > these are combined thoughts as of yet and the beginings of what is to
> > come.
> >
> > steve
>
More information about the lunar-dev
mailing list