Discussion:
[Rock-dev] autoproj snapshot not working on detached HEAD?
Christian Rauch
2014-06-24 08:58:18 UTC
Permalink
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
--
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/63b94803/attachment.bin
Matthias Goldhoorn
2014-06-24 09:05:50 UTC
Permalink
--> stackexchange
Post by Christian Rauch
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.
$ git checkout 995e018
-> You are in 'detached HEAD' state. [...]
$ 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
--
Dipl.-Inf. Matthias Goldhoorn
Space and Underwater Robotic

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-4193
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: matthias.goldhoorn at informatik.uni-bremen.de

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

-------------- n?chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140624/c6d54ceb/attachment.htm
Christian Rauch
2014-06-24 09:25:17 UTC
Permalink
Post by 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
Post by Matthias Goldhoorn
Post by Christian Rauch
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.
$ git checkout 995e018
-> You are in 'detached HEAD' state. [...]
$ 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
Matthias Goldhoorn
2014-06-24 10:00:40 UTC
Permalink
Hi,
Why pople complaining regarding your question, exactly this push_to
question is a good example for the use of stackexchange.

And This question is similar, maybe we can discuss this as a feature
request, but so far this is a straight forward question...

Best,
Matthias
Post by Christian Rauch
Post by 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
Post by Matthias Goldhoorn
Post by Christian Rauch
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.
$ git checkout 995e018
-> You are in 'detached HEAD' state. [...]
$ 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
_______________________________________________
Rock-dev mailing list
Rock-dev at dfki.de
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
--
Matthias Goldhoorn
Unterwasserrobotik

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra?e 5
28359 Bremen, Germany

Phone: +49 (0)421 218-64100
Fax: +49 (0)421 218-64150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra?e 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------


-------------- n?chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140624/d120ab6d/attachment.htm
Christian Rauch
2014-06-24 11:39:05 UTC
Permalink
Post by Matthias Goldhoorn
Hi,
Why pople complaining regarding your question, exactly this push_to
question is a good example for the use of stackexchange.
Just look at the comments of
http://robotics.stackexchange.com/questions/3091/how-to-overwrite-default-git-source-in-autoproj

"This is not a robotics-related question. [...]"
Post by Matthias Goldhoorn
And This question is similar, maybe we can discuss this as a feature
request, but so far this is a straight forward question...
Yes, this is the question if the behaviour is desired and the answer to
it determines if it is a bug (not desired behaviour) or if there should
be a feature request if this is the currently desired behaviour.

I think it is a development related question and that we should not spam
stackexchange with this kind of questions.

Is there a guide on where to ask what kind of questions?

Nevertheless, I asked the same question about the behaviour of autoproj
snapshot on stackexchange.

Regards,
Christian
Post by Matthias Goldhoorn
Best,
Matthias
Post by Christian Rauch
Post by 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
Post by Matthias Goldhoorn
Post by Christian Rauch
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.
$ git checkout 995e018
-> You are in 'detached HEAD' state. [...]
$ 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
_______________________________________________
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/fb9ed536/attachment.bin
Sylvain Joyeux
2014-06-24 11:52:33 UTC
Permalink
Post by Christian Rauch
I doubt that this topic belongs to stackexchange. People already
complained about asking questions about the push url in autoproj on
robotics.stackexchange.com.
I've replied to them about autoproj being part of a robotics framework.
We'll see what happens.
Post by Christian Rauch
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.
IMO this is a user question (you use autoproj snapshot and have a question
about its behaviour). If there is really a need about further discussions,
then it can be moved to the relevant package's bug tracker.

Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140624/f39761eb/attachment.htm
Loading...