[csw-devel] blocking SunOS5.8 removals with csw-upload-pkg

Maciej Bliziński maciej at opencsw.org
Tue Sep 6 09:49:59 CEST 2011


2011/9/6 Ben Walton <bwalton at opencsw.org>:
> In order to prevent someone (me) from touching the SunOS5.8 catalog by
> removing packages (the default with --remove), you pointed me at
> releases_web.py line 210.  I'm not clear on the best way to prevent
> this action (in that function) other than raising an exception if the
> osrel_name is SunOS5.8.  Maybe that is the best way to go but I'm not
> positive.

That is what I was thinking.  You could create something like
frozen_os_rels in common_constants.py and have releses_web.py read it.

> Also, should we block adding a package to 5.8 without a specific
> tool/interface?

I would like to leave the option to manipulate all catalogs using the
lower-level tool (pkgdb) in order we wanted to e.g. make a pkgutil
release into 5.8.

Maciej


More information about the devel mailing list