My apologies, I guess I stepped in "it" this time. Harlan has been very
active on the modules-devel list, and I thought this was related to
the recent code base. Read twice, respond once. Enuf said.
When I have a package I want modules to handle, I install things in
/usr/local/pkg/foo/1.2 or something similar. (It could be /opt
just as well. Then I create a modulefile e.g.
/usr/local/Modules/modulefiles/foo/1.2 , setting the .version, etc.
and I define a symbolic link in /usr/local/pkg/foo, "ln -s 1.2 default"
if it's something I need to call from an rc or init.d type scripts and
I'll probably forget to edit the script if I place a specific version.
I eschewed the /usr/local/pkg/foo_1.2 convention (which is used quite
abit at my employer - NERSC) because this results in an overfull
and confusing /usr/local/pkg dir. I find the rest of the staff has a
reluctance to making numerical named directories, however.
It could be taken a step further with .../foo/1/2 directories, but
this often overkill.
For local patches. I do the vain thing and add my initials and maybe
a number if I apply more than 1 set of my own patches in the package
lifetime. (Recall the early modules-3.0.6-rko.)
At least I know that the naming convention won't conflict with the vendor
patch names and it identifies package sources I should tar ball for storage.
BTW, the untar'd sources are removed and only the tar ball is kept around,
with a collected README on what I did to build & install all the packages.
In a group, this might work well also, then it identifies the
package installer/maintainer.
However, if we polled every member of this list, I would wager that
everyone has their own unique way of doing things. Anyways, this is
my unique way (which some of it has crept into the modules docs and
scripts ;^).
R.K.
On Thu, 12 Sep 2002, David C. Mores wrote:
> Harlan Stenn wrote:
>
> > R.K.,
> >
> > > How does this vary from the current numbering scheme?
> > > Where, say 3.1.6, the '6' represents a collection of minor changes,
> > > the patchlevel as it were. The major/minor version is 3.1.
> > > Or do you propose a system such as 3.1.6pl2 (so something similar)?
> >
> > I'm talking about something else - I'm talking about the case where one
> > wants to identify/segregate sets of local changes to (in this case) 3rd
> > party software.
> >
>
> The scheme we have been using for the past 10+ years involves 3 parts to the application mount point and 3 levels of modulefile area directory structure. For example netscape 4.79 would be hosted in the directory tree netscape_4.79_a, where the postfix a is the local revision level. This would result in modulefile path netscape/4.79/a where 'a' is the actual modulefile. If a local revision is made, the directory tree would be cloned to netscape_4.79_b, local changes made and the associated modulefile
> path would be netscape/4.79/b. This provides for a simple and controlled migration scheme that can be backed out quickly, if changes do not work out. It also clearly keeps the identity of what version of the application is being used and indicates the level of local revisions.
>
> Hope some of these ideas help you out.
>
> Dave
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Modules-interest mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/modules-interest
>
|