Re: [Spacewalk-devel] Nightly repos

2009-01-08 Thread Mike McCune

Miroslav Suchý wrote:

I updated (using data, which Dennis provided):
  http://miroslav.suchy.cz/spacewalk/nightly-candidate/
Now it contains 0.4-candidate packages. The build still have to be 
initiated by developer.




when you say initiated by a developer, you mean we do need to:

* build.py --tag-release
* git push --tags
* koji build dist-5E-sw-0.4-candidate some.src.rpm

right?

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Nightly repos

2009-01-09 Thread Jan Pazdziora
On Thu, Jan 08, 2009 at 05:10:30PM -0800, Mike McCune wrote:
> Miroslav Suchý wrote:
>> I updated (using data, which Dennis provided):
>>   http://miroslav.suchy.cz/spacewalk/nightly-candidate/
>> Now it contains 0.4-candidate packages. The build still have to be  
>> initiated by developer.
>>
>
> when you say initiated by a developer, you mean we do need to:
>
> * build.py --tag-release
> * git push --tags

There has to be a

  git push
  
step here as well -- either before git push --tags or after it, that
doesn't matter that much. Otherwise, you push the tag but not the
head, and things will be broken for other people.

I generally also recommend doing

  git checkout master
  git pull
  git checkout your-branch
  git rebase master
  git checkout master
  git merge your-branch

before tagging, and

  gitk --all & 

and careful review of what's happened after the tag, before push.

> * koji build dist-5E-sw-0.4-candidate some.src.rpm
>
> right?
>
> ___
> Spacewalk-devel mailing list
> Spacewalk-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-devel

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Nightly repos

2009-01-09 Thread Jan Pazdziora
On Thu, Jan 08, 2009 at 05:10:30PM -0800, Mike McCune wrote:
> Miroslav Suchý wrote:
>> I updated (using data, which Dennis provided):
>>   http://miroslav.suchy.cz/spacewalk/nightly-candidate/
>> Now it contains 0.4-candidate packages. The build still have to be  
>> initiated by developer.
>
> when you say initiated by a developer, you mean we do need to:
>
> * build.py --tag-release
> * git push --tags
> * koji build dist-5E-sw-0.4-candidate some.src.rpm

As for building the stuff,

   cd ~/project/spacewalk/rel-eng
   ./build-missing-builds-in-koji.sh dist-5E-sw-0.4-candidate

should do the trick as well, for all packages that were tagged but not
built. So it not only builds your tagged package but provides
community service as well.

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Nightly repos

2009-01-09 Thread Jan Pazdziora
On Fri, Jan 09, 2009 at 09:01:14AM +0100, Jan Pazdziora wrote:
> On Thu, Jan 08, 2009 at 05:10:30PM -0800, Mike McCune wrote:
> > Miroslav Suchý wrote:
> >> I updated (using data, which Dennis provided):
> >>   http://miroslav.suchy.cz/spacewalk/nightly-candidate/
> >> Now it contains 0.4-candidate packages. The build still have to be  
> >> initiated by developer.
> >>
> >
> > when you say initiated by a developer, you mean we do need to:
> >
> > * build.py --tag-release
> > * git push --tags
> 
> There has to be a
> 
>   git push
>   
> step here as well -- either before git push --tags or after it, that
> doesn't matter that much. Otherwise, you push the tag but not the
> head, and things will be broken for other people.

Which is exactly what happened with spacewalk-koan-0.1.3-1, by the
way.

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Nightly repos

2009-01-09 Thread Mike McCune

Jan Pazdziora wrote:

On Thu, Jan 08, 2009 at 05:10:30PM -0800, Mike McCune wrote:

Miroslav Suchý wrote:

I updated (using data, which Dennis provided):
  http://miroslav.suchy.cz/spacewalk/nightly-candidate/
Now it contains 0.4-candidate packages. The build still have to be  
initiated by developer.

when you say initiated by a developer, you mean we do need to:

* build.py --tag-release
* git push --tags
* koji build dist-5E-sw-0.4-candidate some.src.rpm


As for building the stuff,

   cd ~/project/spacewalk/rel-eng
   ./build-missing-builds-in-koji.sh dist-5E-sw-0.4-candidate

should do the trick as well, for all packages that were tagged but not
built. So it not only builds your tagged package but provides
community service as well.



excellent.  good to know.  will use that next time.

So I saw a few changelogs in some specfiles:

==spacewalk-setup.spec:==

* Thu Jan  8 2009 Jan Pazdziora 0.4.20-1
- support symlinked and NFS-mounted /var/satellite during setup
- run chkconfig for "stock" httpd

==spacewalk-backend.spec==
* Thu Jan  8 2009 Jan Pazdziora 0.4.10-1
- more changes for nvrea error handling
- changed all references of none to auto w.r.t
  rhnKickstartVirtualizationType
- 467115 - adding a switch so users can turn off same nvrea different
  vendor package uploads
- eliminate satellite-httpd daemon, migrate to 'stock' apache
- 461162 - adding support to push the cobbler profile name down to koan
- 461162 - adding some virt options and spiffifying the virt 
provisioning page

- 461162 - moving cobbler requirement down to the RPMs that actually use it
- changes are by multiple authors

where these hand-entered by you?  Or did you have some tool that grabbed 
git comments and added the changelog for you?


and will revise my workflow as you stated in the earlier email.

Mike
--
Mike McCune
mmccune AT redhat.com
Engineering   | Portland, OR
RHN Satellite | 650.567.9039x79248

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Nightly repos

2009-01-09 Thread Jan Pazdziora
On Fri, Jan 09, 2009 at 08:50:48AM -0800, Mike McCune wrote:
>
> excellent.  good to know.  will use that next time.
>
> So I saw a few changelogs in some specfiles:
>
> ==spacewalk-setup.spec:==
>
> * Thu Jan  8 2009 Jan Pazdziora 0.4.20-1
> - support symlinked and NFS-mounted /var/satellite during setup
> - run chkconfig for "stock" httpd
>
> ==spacewalk-backend.spec==
> * Thu Jan  8 2009 Jan Pazdziora 0.4.10-1
> - more changes for nvrea error handling
> - changed all references of none to auto w.r.t
>   rhnKickstartVirtualizationType
> - 467115 - adding a switch so users can turn off same nvrea different
>   vendor package uploads
> - eliminate satellite-httpd daemon, migrate to 'stock' apache
> - 461162 - adding support to push the cobbler profile name down to koan
> - 461162 - adding some virt options and spiffifying the virt  
> provisioning page
> - 461162 - moving cobbler requirement down to the RPMs that actually use it
> - changes are by multiple authors
>
> where these hand-entered by you?

Yes.

>   Or did you have some tool that grabbed  
> git comments and added the changelog for you?

I generally do

git whatchanged .

in the package directory and put the commit messages up until the
previous "Automatic commit ..." message there, after shortening them.

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Nightly repos

2009-01-09 Thread Mike McCune

Jan Pazdziora wrote:

On Fri, Jan 09, 2009 at 08:50:48AM -0800, Mike McCune wrote:

excellent.  good to know.  will use that next time.

So I saw a few changelogs in some specfiles:

==spacewalk-setup.spec:==

* Thu Jan  8 2009 Jan Pazdziora 0.4.20-1
- support symlinked and NFS-mounted /var/satellite during setup
- run chkconfig for "stock" httpd

==spacewalk-backend.spec==
* Thu Jan  8 2009 Jan Pazdziora 0.4.10-1
- more changes for nvrea error handling
- changed all references of none to auto w.r.t
  rhnKickstartVirtualizationType
- 467115 - adding a switch so users can turn off same nvrea different
  vendor package uploads
- eliminate satellite-httpd daemon, migrate to 'stock' apache
- 461162 - adding support to push the cobbler profile name down to koan
- 461162 - adding some virt options and spiffifying the virt  
provisioning page

- 461162 - moving cobbler requirement down to the RPMs that actually use it
- changes are by multiple authors

where these hand-entered by you?


Yes.

Or did you have some tool that grabbed  
git comments and added the changelog for you?


I generally do

git whatchanged .

in the package directory and put the commit messages up until the
previous "Automatic commit ..." message there, after shortening them.



cool, good 2 know!

Mike
--
Mike McCune
mmccune AT redhat.com
Engineering   | Portland, OR
RHN Satellite | 650.567.9039x79248

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Nightly repos

2009-01-09 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 09 Jan 2009 09:19:52 -0800
Mike McCune  wrote:

> Jan Pazdziora wrote:
> > On Fri, Jan 09, 2009 at 08:50:48AM -0800, Mike McCune wrote:
> >> excellent.  good to know.  will use that next time.
> >>
> >> So I saw a few changelogs in some specfiles:
> >>
> >> ==spacewalk-setup.spec:==
> >>
> >> * Thu Jan  8 2009 Jan Pazdziora 0.4.20-1
> >> - support symlinked and NFS-mounted /var/satellite during setup
> >> - run chkconfig for "stock" httpd
> >>
> >> ==spacewalk-backend.spec==
> >> * Thu Jan  8 2009 Jan Pazdziora 0.4.10-1
> >> - more changes for nvrea error handling
> >> - changed all references of none to auto w.r.t
> >>   rhnKickstartVirtualizationType
> >> - 467115 - adding a switch so users can turn off same nvrea
> >> different vendor package uploads
> >> - eliminate satellite-httpd daemon, migrate to 'stock' apache
> >> - 461162 - adding support to push the cobbler profile name down to
> >> koan
> >> - 461162 - adding some virt options and spiffifying the virt  
> >> provisioning page
> >> - 461162 - moving cobbler requirement down to the RPMs that
> >> actually use it
> >> - changes are by multiple authors
> >>
> >> where these hand-entered by you?
> > 
> > Yes.
> > 
> >>Or did you have some tool that
> >> grabbed git comments and added the changelog for you?
> > 
> > I generally do
> > 
> > git whatchanged .
> > 
> > in the package directory and put the commit messages up until the
> > previous "Automatic commit ..." message there, after shortening
> > them.
> > 
> 
> cool, good 2 know!
> 
> Mike

Adding this to build.py is on my TODO list, something like if no
changelog entry found, open up a text buffer with an autogenerated one
from git history, let the user edit it, then write it out when they
close.

Dev

- -- 
Devan Goodwin 
Software Engineer - Spacewalk / RHN Satellite
Halifax, Canada650.567.9039x79267
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAklnrawACgkQAyHWaPV9my6kRQCgsAskHv6NJbiYld8aNUsBRylS
XIAAoMLrNxFAGLe1B9N59T7bTY7PTo52
=C5Th
-END PGP SIGNATURE-

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel