[Spacewalk-devel] Changes to 'refs/tags/oracle-instantclient-selinux-10.2-10' (fwd)

2009-04-29 Thread Jan Pazdziora

> Tag 'oracle-instantclient-selinux-10.2-10' created by Jan Pazdziora 
>  at 2009-04-29 12:32 +
> 
> Tagging package [oracle-instantclient-selinux] version [10.2-10] in directory 
> [selinux/oracle-instantclient-selinux/].
> 
> Changes since spacewalk-config-0.6.4-1-1:

I wonder: what is this "spacewalk-config-0.6.4-1-1" about? That double
"-1-1?

'cause I again got the infamous

fatal: Invalid revision range 
..cc510bcf9a4e2280db483adf06a09006b2e2ae73
fatal: ambiguous argument 
'spacewalk-config-0.6.4-1-1..cc510bcf9a4e2280db483adf06a09006b2e2ae73': unknown 
revision or path not in the working tree.
Use '--' to separate paths from revisions
To ssh://git.fedorahosted.org/git/spacewalk.git/
 * [new tag] oracle-instantclient-selinux-10.2-10 -> 
oracle-instantclient-selinux-10.2-10
fatal: ambiguous argument 
'spacewalk-config-0.6.4-1-1..cc510bcf9a4e2280db483adf06a09006b2e2ae73': unknown 
revision or path not in the working tree.
Use '--' to separate paths from revisions

error again, and it references the spacewalk-config-0.6.4-1-1 thing.

-- 
Jan Pazdziora
Senior Software Engineer, Satellite Engineering, Red Hat

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


Re: [Spacewalk-devel] Changes to 'refs/tags/oracle-instantclient-selinux-10.2-10' (fwd)

2009-04-29 Thread Joshua Roys

On 04/29/2009 08:37 AM, Jan Pazdziora wrote:

Tag 'oracle-instantclient-selinux-10.2-10' created by Jan 
Pazdziora  at 2009-04-29 12:32 +

Tagging package [oracle-instantclient-selinux] version [10.2-10] in directory 
[selinux/oracle-instantclient-selinux/].

Changes since spacewalk-config-0.6.4-1-1:


I wonder: what is this "spacewalk-config-0.6.4-1-1" about? That double
"-1-1?

'cause I again got the infamous

fatal: Invalid revision range 
..cc510bcf9a4e2280db483adf06a09006b2e2ae73
fatal: ambiguous argument 
'spacewalk-config-0.6.4-1-1..cc510bcf9a4e2280db483adf06a09006b2e2ae73': unknown 
revision or path not in the working tree.
Use '--' to separate paths from revisions
To ssh://git.fedorahosted.org/git/spacewalk.git/
  * [new tag] oracle-instantclient-selinux-10.2-10 ->  
oracle-instantclient-selinux-10.2-10
fatal: ambiguous argument 
'spacewalk-config-0.6.4-1-1..cc510bcf9a4e2280db483adf06a09006b2e2ae73': unknown 
revision or path not in the working tree.
Use '--' to separate paths from revisions

error again, and it references the spacewalk-config-0.6.4-1-1 thing.



I think I may have an idea...

Look at fedora-git-commit-mail-hook, line 85.  (Well, it's line 85 in 
the version at 
http://mmcgrath.fedorapeople.org/fedora-git-commit-mail-hook - I don't 
know if you use the same.)


When you pushed the tag oracle-instantclient-selinux-10.2-10, we get:

$ git describe oracle-instantclient-selinux-10.2-10^
spacewalk-config-0.6.4-1-1-g04aaae7
$ git describe oracle-instantclient-selinux-10.2-10^ | sed 's/-g.*//'
spacewalk-config-0.6.4-1-1

In man git-describe:
EXAMPLES
   With something like git.git current tree, I get:

   [torva...@g5 git]$ git describe parent
   v1.0.4-14-g2414721

   i.e. the current head of my "parent" branch is based on v1.0.4, 
but since it has a few commits on top of that, describe has added the 
number of additional commits ("14") and an abbreviated object name for 
the commit itself ("2414721") at the end.


Joshua Roys

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


Re: [Spacewalk-devel] Changes to 'refs/tags/oracle-instantclient-selinux-10.2-10' (fwd)

2009-04-29 Thread Joshua Roys

On 04/29/2009 01:56 PM, Joshua Roys wrote:

On 04/29/2009 08:37 AM, Jan Pazdziora wrote:

Tag 'oracle-instantclient-selinux-10.2-10' created by Jan 
Pazdziora   at 2009-04-29 12:32 +

Tagging package [oracle-instantclient-selinux] version [10.2-10] in directory 
[selinux/oracle-instantclient-selinux/].

Changes since spacewalk-config-0.6.4-1-1:

I wonder: what is this "spacewalk-config-0.6.4-1-1" about? That double
"-1-1?

'cause I again got the infamous

fatal: Invalid revision range 
..cc510bcf9a4e2280db483adf06a09006b2e2ae73
fatal: ambiguous argument 
'spacewalk-config-0.6.4-1-1..cc510bcf9a4e2280db483adf06a09006b2e2ae73': unknown 
revision or path not in the working tree.
Use '--' to separate paths from revisions
To ssh://git.fedorahosted.org/git/spacewalk.git/
   * [new tag] oracle-instantclient-selinux-10.2-10 ->   
oracle-instantclient-selinux-10.2-10
fatal: ambiguous argument 
'spacewalk-config-0.6.4-1-1..cc510bcf9a4e2280db483adf06a09006b2e2ae73': unknown 
revision or path not in the working tree.
Use '--' to separate paths from revisions

error again, and it references the spacewalk-config-0.6.4-1-1 thing.



I think I may have an idea...

Look at fedora-git-commit-mail-hook, line 85.  (Well, it's line 85 in
the version at
http://mmcgrath.fedorapeople.org/fedora-git-commit-mail-hook - I don't
know if you use the same.)

When you pushed the tag oracle-instantclient-selinux-10.2-10, we get:

$ git describe oracle-instantclient-selinux-10.2-10^
spacewalk-config-0.6.4-1-1-g04aaae7
$ git describe oracle-instantclient-selinux-10.2-10^ | sed 's/-g.*//'
spacewalk-config-0.6.4-1-1

In man git-describe:
EXAMPLES
 With something like git.git current tree, I get:

 [torva...@g5 git]$ git describe parent
 v1.0.4-14-g2414721

 i.e. the current head of my "parent" branch is based on v1.0.4,
but since it has a few commits on top of that, describe has added the
number of additional commits ("14") and an abbreviated object name for
the commit itself ("2414721") at the end.

Joshua Roys

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


Oh, and the solution is right in the manpage too.  Use --abbrev=0.

Joshua Roys

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


Re: [Spacewalk-devel] Changes to 'refs/tags/oracle-instantclient-selinux-10.2-10' (fwd)

2009-04-30 Thread Jan Pazdziora
On Wed, Apr 29, 2009 at 02:03:47PM -0400, Joshua Roys wrote:
>>
>> In man git-describe:
>> EXAMPLES
>>  With something like git.git current tree, I get:
>>
>>  [torva...@g5 git]$ git describe parent
>>  v1.0.4-14-g2414721
>>
>>  i.e. the current head of my "parent" branch is based on v1.0.4,
>> but since it has a few commits on top of that, describe has added the
>> number of additional commits ("14") and an abbreviated object name for
>> the commit itself ("2414721") at the end.
>
> Oh, and the solution is right in the manpage too.  Use --abbrev=0.

Joshua,

thanks a lot for looking into this.

For out purposes, the git rev-list is not useful anyway, so I filed

https://fedorahosted.org/fedora-infrastructure/ticket/1362

to get that part removed.

-- 
Jan Pazdziora
Senior Software Engineer, Satellite Engineering, Red Hat

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