extras-buildsys/utils extras-sign-move.py,1.11,1.12

Dan Williams dcbw at redhat.com
Mon Apr 24 13:18:56 UTC 2006


On Sun, 2006-04-23 at 15:00 -0400, seth vidal wrote:
> On Sun, 2006-04-23 at 21:55 +0300, Ville Skyttä wrote:
> > On Sun, 2006-04-23 at 11:40 -0700, Seth Vidal wrote:
> > 
> > > Modified Files:
> > > 	extras-sign-move.py 
> > > Log Message:
> > > 
> > > if the file already exists, unlink it - this lets us sneak out silent
> > > changes
> > [...]
> > >                  if not DEBUG:                
> > > +                    if os.path.exists(rpmloc):
> > > +                        os.unlink(rpmloc)
> > >                      shutil.copy2(package, rpmloc)
> > 
> > Eh... rationale?  We should be making sure that this _cannot_ happen,
> > not make it easier or automatic.
> 
> in this specific case I added it b/c some num-num updated their packages
> w/o iterating the release. So we ended up with a conflict. If you'd like

Ideally we should be gating this in the build system and fail packages
that aren't "newer" than the last one built for a particular repository.
Something I've wanted to do for a long time but, of course, requires
some amount of yum-awareness in the build server.  Which is in HEAD in
rudimentary form.

Dan






More information about the fedora-extras-list mailing list