Skip to contentSkip to conversation

Alsa snapshot directory layout changed

DISCUSSION David Henningsson 3 participants 4 messages Jan 7, 2013

lore
Share & tools
lore
#0 lore raw

I have a script that picks daily snapshots from ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz ...and I just noticed that the directory layout has changed, so what was "alsa-driver" is now "alsa-driver/alsa".

Is this expected, i e, should I update my script to follow this new layout, or was it a mistake?

Signature · 2 lines
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
#1 lore raw

At Mon, 07 Jan 2013 11:58:10 +0100,

Quoted 8 lines · David Henningsson

I have a script that picks daily snapshots from ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz ...and I just noticed that the directory layout has changed, so what was "alsa-driver" is now "alsa-driver/alsa".

Is this expected, i e, should I update my script to follow this new layout, or was it a mistake?

It's no mistake, done intentionally so.
But I'm going to change the script to create a tarball without alsa/ subdirectory later. But right now no time.

As a workaround, just put a line like below in your script.

	test -d alsa && cd alsa

Takashi

#2 lore raw
Quoted 8 lines · Takashi Iwai

At Mon, 07 Jan 2013 11:58:10 +0100,

Quoted 6 lines · David Henningsson

I have a script that picks daily snapshots from ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz ...and I just noticed that the directory layout has changed, so what was "alsa-driver" is now "alsa-driver/alsa".

Quoted 6 lines
Quoted 2 lines

Is this expected, i e, should I update my script to follow this new layout, or was it a mistake?

It's no mistake, done intentionally so.
But I'm going to change the script to create a tarball without alsa/ subdirectory later. But right now no time.

I would like to keep the structure same in GIT repo and tarball for the patch processing.

Quoted 3 lines

As a workaround, just put a line like below in your script.

	test -d alsa && cd alsa

Perhaps a README in the root directory with this information may be sufficient.

Jaroslav

Signature · 3 lines
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.
#3 lore raw

At Mon, 07 Jan 2013 16:00:27 +0100,

Quoted 13 lines · Jaroslav Kysela
Quoted 11 lines · Takashi Iwai

At Mon, 07 Jan 2013 11:58:10 +0100,

Quoted 8 lines · David Henningsson

I have a script that picks daily snapshots from ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz ...and I just noticed that the directory layout has changed, so what was "alsa-driver" is now "alsa-driver/alsa".

Is this expected, i e, should I update my script to follow this new layout, or was it a mistake?

Quoted 6 lines
Quoted 3 lines

It's no mistake, done intentionally so.
But I'm going to change the script to create a tarball without alsa/ subdirectory later. But right now no time.

I would like to keep the structure same in GIT repo and tarball for the patch processing.

Keeping the same structure as a git repo is certainly a merit, but do we really need it? Basically all necessary stuff is found in alsa directory, I though. Any other missing pieces in the root directory?

Quoted 6 lines
Quoted 3 lines

As a workaround, just put a line like below in your script.

	test -d alsa && cd alsa

Perhaps a README in the root directory with this information may be sufficient.

Maybe. It's no big matter, so I already changed the tarball in that way :) But changing back (i.e. creating a tarball from alsa directory) shouldn't be hard, too...

Takashi