[Rock-dev] autoproj snapshot not working on detached HEAD?

Christian Rauch Christian.Rauch at dfki.de
Tue Jun 24 11:25:17 CEST 2014



Am 24.06.2014 11:05, schrieb Matthias Goldhoorn:
>
> --> stackexchange

I doubt that this topic belongs to stackexchange. People already 
complained about asking questions about the push url in autoproj on 
robotics.stackexchange.com.

This is maybe a bug and worth a discussion about the behaviour of 
autoproj snapshot. The target audience of this are developers, not 
users. Therefore I think that rock-dev is the right place.

Regards,
Christian


>
>
> On 24.06.2014 10:58, Christian Rauch wrote:
>> Hi,
>>
>> it looks like autoproj snapshot is not working on detached head state.
>>
>> Let's say I need to search in the git history of a couple of packages
>> to get back to a working state for a demo. I am searching by checking
>> out commits manually until I found the commits of all effected
>> packages that work together.
>>
>> By checking out commits manually, I will get into the detached HEAD
>> state:
>>
>> $ git checkout 995e018
>> -> You are in 'detached HEAD' state. [...]
>>
>> To save the current state of all packages, a snapshot is created:
>>
>> $ autoproj snapshot demo_working
>>
>> Now the demo_working/overrides.yml will pin the commit where the HEAD
>> is pointing to (e.g. 5e2e3a259) instead of the commit that I chose
>> manually for the package (995e018).
>>
>> Is this the desired beahviour? In my opinion a snapshot should store
>> the current state of all my git repositories meaning that I can also
>> select commits manually.
>>
>> Regards,
>> Christian
>>
>>
>>
>>
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>
>

-- 
  Christian Rauch
  Space Robotics

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 1
  28359 Bremen, Germany

  Zentrale: +49 421 178 45-6611

  Besuchsadresse der Nebengeschäftstelle:
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Tel:     +49 421 178 45-6619
  Empfang: +49 421 178 45-6600
  Fax:     +49 421 178 45-4150
  E-Mail:  Christian.Rauch at dfki.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5071 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20140624/259e626e/attachment.bin 


More information about the Rock-dev mailing list