FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 03-18-2010, 11:01 PM
Nathan Blackham
 
Default rebuild an rpm

Quick question,
Is there an easy way to kick off a rebuild of an rpm that is already built? *I am trying to test my build machines to make sure they can handle building, and I don't want to bump the spec file on each build? *

Thanks,Nathan
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 03-18-2010, 11:15 PM
Mike McLean
 
Default rebuild an rpm

On 03/18/2010 08:01 PM, Nathan Blackham wrote:
> Quick question,
>
> Is there an easy way to kick off a rebuild of an rpm that is already built?
> I am trying to test my build machines to make sure they can handle
> building, and I don't want to bump the spec file on each build?

Just kick off a scratch build from the same source. If the original was
built from an scm, you can pull the scm url from the taskinfo page.
Otherwise you can just snag the srpm from the build page (or from
/mnt/koji if you're on a machine that has it).
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 03-19-2010, 02:31 PM
Nathan Blackham
 
Default rebuild an rpm

That won't get re-uploaded to the DB though will it?
Nathan

On Thu, Mar 18, 2010 at 5:15 PM, Mike McLean <mikem@redhat.com> wrote:

On 03/18/2010 08:01 PM, Nathan Blackham wrote:

> Quick question,

>

> Is there an easy way to kick off a rebuild of an rpm that is already built?

> * I am trying to test my build machines to make sure they can handle

> building, and I don't want to bump the spec file on each build?



Just kick off a scratch build from the same source. If the original was

built from an scm, you can pull the scm url from the taskinfo page.

Otherwise you can just snag the srpm from the build page (or from

/mnt/koji if you're on a machine that has it).

--

buildsys mailing list

buildsys@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/buildsys



--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 03-19-2010, 03:43 PM
Mike McLean
 
Default rebuild an rpm

On 03/19/2010 11:31 AM, Nathan Blackham wrote:
> That won't get re-uploaded to the DB though will it?

No, but apart from that the build should be the same. Generally for this
sort of testing I think that's the right answer.

If you really must test with non-scratch builds, then yes, you must bump
the release. NVR uniqueness is a database constraint. The only way to
dodge it is to not import the result (hence my scratch build suggestion).

Bumping the release is not terribly difficult and can be scripted pretty
easily. I have such a script if you decide you need one.
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 03-19-2010, 03:54 PM
Nathan Blackham
 
Default rebuild an rpm

Will it bump it with SRPM's or just from SCM? *I would be interested in at least taking a look. *Is that how you move from one release to another, fc11 to fc12?
I think the scratch builds will work. *I was more curious about how scratch builds worked.

Nathan
On Fri, Mar 19, 2010 at 9:43 AM, Mike McLean <mikem@redhat.com> wrote:

On 03/19/2010 11:31 AM, Nathan Blackham wrote:

> That won't get re-uploaded to the DB though will it?



No, but apart from that the build should be the same. Generally for this

sort of testing I think that's the right answer.



If you really must test with non-scratch builds, then yes, you must bump

the release. NVR uniqueness is a database constraint. The only way to

dodge it is to not import the result (hence my scratch build suggestion).



Bumping the release is not terribly difficult and can be scripted pretty

easily. I have such a script if you decide you need one.

--

buildsys mailing list

buildsys@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/buildsys



--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 03-19-2010, 05:10 PM
Mike McLean
 
Default rebuild an rpm

On 03/19/2010 12:54 PM, Nathan Blackham wrote:
> Will it bump it with SRPM's or just from SCM? I would be interested in at
> least taking a look. Is that how you move from one release to another, fc11
> to fc12?

My script only accepts srpms. I only use it for situations when I need
to run a series of test builds that need to be non-scratch (for me this
happens when I need to bootstrap a build environment or sometimes I just
need the test build in the system so that another tool can access it
that way).

I believe Fedora rel-eng has a mass rebuild script that includes a
release bump.

> I think the scratch builds will work. I was more curious about how scratch
> builds worked.

Scratch builds work /exactly/ like regular builds, except that they are
not imported into the system afterwards. If you just want to test
whether the builders can build, this is probably what you want.
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 09:07 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org