Stefano Zacchiroli wrote:
On Mon, Jun 30, 2008 at 11:12:51PM +0300, Eddy Petrișor wrote:
It would be really nice if, in case the Vcs-* header is missing,
debcheckout would offer the user the possibility to get the source
package directly from the archive via "apt-get source package".
I prefer rather not doing this for various reasons.
The main one is "social", as debcheckout was also meant as a way to
diffuse the culture of using Vcs-* fields. Transparently falling back to
apt-get will defeat this purpose. Similarly, it will make less evident,
I understand and support wholeheartly your position about transparent fallback, that's what I meant
when I said "debcheckout would offer".
Is really unfortunate that the Vcs-* field is used/useful to others than the maintainer, since the
later would already know what he/she uses.
no matter how you warn, the information/pointers about Vcs-*
documentation.
I suggest either just printing out the alternative (but are there cases
of people knowing about debcheckout but not apt-get source?), maybe
printing out something like "you can do apt-get source ...".
That could work, and could print the command that, just copied, would do the
right thing.
Alternatively we can provide a fallback switch that it is not the
default and when given enables transparent fallback to apt-get.
I think that would be better from my PoV, but I don't know how that would affect the difusion of the
VCS-* practice - probably it wouldn't help it as much as the "just print out the right commmand for
me to copy/paste it", since would add just enough to the frustration level of the NM and would
probably make him send a BR and request the addition of the field, and would be useful enough to
allow the person that wants something done not to stop him/her.
There is also the risk that the user doesn't have any deb-src sources set, so automatically falling
back via the non-default switch wouldn't be 100% sure to work.
So I think that we should take the approach "print out the exact right command ready for me to
copy/paste" because of the reasons exposed above.
P.S.: that command should involve creating a directory, cd-ing into it, apt-getting the source, to
isolate from the start the .dsc, .diff.gz. and the orig from the other files from the directory
where the command was issued.
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]