2013-03-03 11:34:27

by Sedat Dilek

[permalink] [raw]
Subject: [git.k.o] gitweb->cgit: Re-add Git snapshot tarball feature

Hi,

unfortunately, the Git snapshot tarball feature was dropped when
switching from gitweb->cgit interface.

For example the Freetz router project extracted the Kbuild-system out
of Linux-kernel sources.
This is no more possible (see old version [2] and new one in [3]).
Freetz introduced "git_archive" checkout method [3] to fix it.

Can you please re-add?
For an example see [4] and [5].

Thanks in advance.

Regards,
- Sedat -

[1] http://freetz.org/browser/trunk/tools/make/kconfig.mk?rev=9895
[2] http://freetz.org/browser/trunk/tools/make/kconfig.mk?rev=10216
[3] http://freetz.org/changeset/10215/trunk
[4] http://cgit.freedesktop.org/mesa/drm/commit/?id=41fc2cc8a98a8d02ea7d3635d3103f7dd371de10
[5] http://cgit.freedesktop.org/mesa/drm/snapshot/drm-41fc2cc8a98a8d02ea7d3635d3103f7dd371de10.tar.gz


2013-03-03 11:49:51

by Arend van Spriel

[permalink] [raw]
Subject: Re: [git.k.o] gitweb->cgit: Re-add Git snapshot tarball feature

On 03/03/13 12:34, Sedat Dilek wrote:
> Hi,
>
> unfortunately, the Git snapshot tarball feature was dropped when
> switching from gitweb->cgit interface.

Just curious. I am looking at gitweb and cgit for our internal
repositories and still deciding so I would like to know what "your" main
motivation was to move kernel.org over to cgit.

Gr. AvS

2013-03-03 13:53:18

by Konstantin Ryabitsev

[permalink] [raw]
Subject: Re: [git.k.o] gitweb->cgit: Re-add Git snapshot tarball feature

On 03/03/13 06:34 AM, Sedat Dilek wrote:
> Hi,
>
> unfortunately, the Git snapshot tarball feature was dropped when
> switching from gitweb->cgit interface.
>
> For example the Freetz router project extracted the Kbuild-system out
> of Linux-kernel sources.
> This is no more possible (see old version [2] and new one in [3]).
> Freetz introduced "git_archive" checkout method [3] to fix it.
>
> Can you please re-add?

I've cautiously re-enabled the snapshot feature. I'll keep an eye on the
impact this has on the system load and the cache size.

Regards,
--
Konstantin Ryabitsev
Systems Administrator
Linux Foundation, kernel.org
Montréal, Québec


Attachments:
signature.asc (730.00 B)
OpenPGP digital signature

2013-03-03 14:13:20

by Sedat Dilek

[permalink] [raw]
Subject: Re: [git.k.o] gitweb->cgit: Re-add Git snapshot tarball feature

On Sun, Mar 3, 2013 at 2:53 PM, Konstantin Ryabitsev <[email protected]> wrote:
> On 03/03/13 06:34 AM, Sedat Dilek wrote:
>> Hi,
>>
>> unfortunately, the Git snapshot tarball feature was dropped when
>> switching from gitweb->cgit interface.
>>
>> For example the Freetz router project extracted the Kbuild-system out
>> of Linux-kernel sources.
>> This is no more possible (see old version [2] and new one in [3]).
>> Freetz introduced "git_archive" checkout method [3] to fix it.
>>
>> Can you please re-add?
>
> I've cautiously re-enabled the snapshot feature. I'll keep an eye on the
> impact this has on the system load and the cache size.
>

Thanks.

Each commit-id it should be downloadable as a snapshot tarball, not
only he latest commit-id.

LATEST: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/snapshot/linux-a7c1120d2dcc83691bafa034d98f70285757e826.tar.gz

PREVIOUS: Not available as TGZ

I would also like to see it as on fdo in the form:

$GIT_URL/$PATH/snapshot/$PKG_NAME-$COMMIT_ID.tar.gz

$GIT_URL=http://cgit.freedesktop.org
PATH=xorg/driver/xf86-video-intel
PKG_NAME=xf86-video-intel
COMMIT_ID=995abb46754eba7524afcb852159a31ea19add82

EXAMPLE:
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/xf86-video-intel-995abb46754eba7524afcb852159a31ea19add82.tar.gz

/me is no cgit expert...

- Sedat -


> Regards,
> --
> Konstantin Ryabitsev
> Systems Administrator
> Linux Foundation, kernel.org
> Montréal, Québec
>

2013-03-03 14:17:36

by Sedat Dilek

[permalink] [raw]
Subject: Re: [git.k.o] gitweb->cgit: Re-add Git snapshot tarball feature

On Sun, Mar 3, 2013 at 3:13 PM, Sedat Dilek <[email protected]> wrote:
> On Sun, Mar 3, 2013 at 2:53 PM, Konstantin Ryabitsev <[email protected]> wrote:
>> On 03/03/13 06:34 AM, Sedat Dilek wrote:
>>> Hi,
>>>
>>> unfortunately, the Git snapshot tarball feature was dropped when
>>> switching from gitweb->cgit interface.
>>>
>>> For example the Freetz router project extracted the Kbuild-system out
>>> of Linux-kernel sources.
>>> This is no more possible (see old version [2] and new one in [3]).
>>> Freetz introduced "git_archive" checkout method [3] to fix it.
>>>
>>> Can you please re-add?
>>
>> I've cautiously re-enabled the snapshot feature. I'll keep an eye on the
>> impact this has on the system load and the cache size.
>>
>
> Thanks.
>
> Each commit-id it should be downloadable as a snapshot tarball, not
> only he latest commit-id.
>
> LATEST: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/snapshot/linux-a7c1120d2dcc83691bafa034d98f70285757e826.tar.gz
>
> PREVIOUS: Not available as TGZ
>

$ wget http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/snapshot/linux-6ec40b423032ca769c96fbf9a080db822821893d.tar.gz

It's downloadable, but not visible in the CGIT website if you select
the commit-id (missing download section and link).

See <http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6ec40b423032ca769c96fbf9a080db822821893d>.

- Sedat -

> I would also like to see it as on fdo in the form:
>
> $GIT_URL/$PATH/snapshot/$PKG_NAME-$COMMIT_ID.tar.gz
>
> $GIT_URL=http://cgit.freedesktop.org
> PATH=xorg/driver/xf86-video-intel
> PKG_NAME=xf86-video-intel
> COMMIT_ID=995abb46754eba7524afcb852159a31ea19add82
>
> EXAMPLE:
> http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/xf86-video-intel-995abb46754eba7524afcb852159a31ea19add82.tar.gz
>
> /me is no cgit expert...
>
> - Sedat -
>
>
>> Regards,
>> --
>> Konstantin Ryabitsev
>> Systems Administrator
>> Linux Foundation, kernel.org
>> Montréal, Québec
>>

2013-03-03 14:23:05

by Konstantin Ryabitsev

[permalink] [raw]
Subject: Re: [git.k.o] gitweb->cgit: Re-add Git snapshot tarball feature

On 03/03/13 09:17 AM, Sedat Dilek wrote:
> $ wget http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/snapshot/linux-6ec40b423032ca769c96fbf9a080db822821893d.tar.gz
>
> It's downloadable, but not visible in the CGIT website if you select
> the commit-id (missing download section and link).
>
> See <http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6ec40b423032ca769c96fbf9a080db822821893d>.

It'll show up in a little bit. Older commit pages are cached and are
unaffected by the config change until cache expires.

E.g. this page was generated after the change:
http://git.kernel.org/cgit/docs/kernel/website.git/commit/?id=12d4c61670617f0e3ea306b27fedcb470dac6ba6

Regards,
--
Konstantin Ryabitsev
Systems Administrator
Linux Foundation, kernel.org
Montréal, Québec


Attachments:
signature.asc (730.00 B)
OpenPGP digital signature