"git ubuntu" wrappers [was: What to do with .git directories in source package uploads?]

Robie Basak robie.basak at ubuntu.com
Mon Jun 12 16:50:58 UTC 2017


On Mon, Jun 12, 2017 at 05:46:14PM +0100, Ian Jackson wrote:
> Again, I don't follow why `fail' occurs.  You seem to be suggesting
> that importing a .dsc containing a .git would generate ..git.

Correct. I'm suggesting "fail" for the round-tripping - for "git ubuntu
build-source" to "unescape" the ..git. Or if we don't agree, then I
think there are only three reasonable choices: (fail, discard,
unescape).

I'm suggesting:

1. Interactive use: fail.
2. Non-interactive use ("batch mode", eg. -B like ssh): unescape.

> (I assume that Launchpad would be taught to reject new introductions
> of \.+git other than in security support or ancient branches.)

Agreed - if it doesn't do that already.

> If someone has such an importer-generated tree, containing ..git, they
> can just use it and ignore the ..git.  Surely that's why this is a
> good choice of directory name.

Agreed.

> If there are any non-historical packages containing .git directories,
> we should file bugs and get them fixed.

Agreed.

Robie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20170612/ccb974e4/attachment.sig>


More information about the vcs-pkg-discuss mailing list