Skip to contentSkip to conversation

remove unused svn-updates.dpatch files

RFC Frans Meulenbroeks 3 participants 6 messages Mar 1, 2010

lore
Share & tools
lore
#0 lore raw

2010/3/1 Denys Dmytriyenko <[email protected]>:

Quoted 17 lines · Graham Gower
Quoted 16 lines

What should offend you more is stuff like this:

[grg@rak gcc]$ pwd /home/grg/oe/openembedded/recipes/gcc
[grg@rak gcc]$ find . -name svn-updates.dpatch -exec ls -l {} \; -rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.2/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.3/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.4/debian/svn-updates.dpatch

Quoted 8 lines
Quoted 6 lines

-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-svn/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-4.3.2/debian/svn-updates.dpatch
[grg@rak gcc]$ grep svn-updates *
[grg@rak gcc]$

So, there is 125 MB wasted right there... Thanks for the heads up! :)

Checked it and the 4.4.[12] and gcc-svn versions are gone. the gcc-4.3.[1-4] versions are still there but seem unused:

frans@linux-suse:~/oe/openembedded/recipes/gcc> grep -r svn-updates.dpatch . frans@linux-suse:~/oe/openembedded/recipes/gcc>

Howvever as gcc is quite core, I'd rather verify first that it is ok to remove them
(or can someone with more gcc knowledge remove)

Frans.

#1 lore raw
Quoted 37 lines · Frans Meulenbroeks

2010/3/1 Denys Dmytriyenko <[email protected]>:

Quoted 17 lines · Graham Gower
Quoted 16 lines

What should offend you more is stuff like this:

[grg@rak gcc]$ pwd /home/grg/oe/openembedded/recipes/gcc
[grg@rak gcc]$ find . -name svn-updates.dpatch -exec ls -l {} \; -rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.2/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.3/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.4/debian/svn-updates.dpatch

Quoted 8 lines
Quoted 6 lines

-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-svn/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-4.3.2/debian/svn-updates.dpatch
[grg@rak gcc]$ grep svn-updates *
[grg@rak gcc]$

So, there is 125 MB wasted right there... Thanks for the heads up! :)

Checked it and the 4.4.[12] and gcc-svn versions are gone. the gcc-4.3.[1-4] versions are still there but seem unused:

frans@linux-suse:~/oe/openembedded/recipes/gcc> grep -r svn-updates.dpatch . frans@linux-suse:~/oe/openembedded/recipes/gcc>

Howvever as gcc is quite core, I'd rather verify first that it is ok to remove them
(or can someone with more gcc knowledge remove)

Quoted 7 lines

Frans.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Perhaps there are other patches in the debian directories that are also unused?

-Graham

#2 lore raw
Quoted 40 lines · Graham Gower
Quoted 39 lines · Frans Meulenbroeks

2010/3/1 Denys Dmytriyenko <[email protected]>:

Quoted 17 lines · Graham Gower
Quoted 16 lines

What should offend you more is stuff like this:

[grg@rak gcc]$ pwd /home/grg/oe/openembedded/recipes/gcc
[grg@rak gcc]$ find . -name svn-updates.dpatch -exec ls -l {} \; -rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.2/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.3/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.4/debian/svn-updates.dpatch

Quoted 8 lines
Quoted 6 lines

-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-svn/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-4.3.2/debian/svn-updates.dpatch
[grg@rak gcc]$ grep svn-updates *
[grg@rak gcc]$

So, there is 125 MB wasted right there... Thanks for the heads up! :)

Checked it and the 4.4.[12] and gcc-svn versions are gone. the gcc-4.3.[1-4] versions are still there but seem unused:

frans@linux-suse:~/oe/openembedded/recipes/gcc> grep -r svn-updates.dpatch . frans@linux-suse:~/oe/openembedded/recipes/gcc>

Howvever as gcc is quite core, I'd rather verify first that it is ok to remove them
(or can someone with more gcc knowledge remove)

Frans.

Quoted 8 lines
Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Perhaps there are other patches in the debian directories that are also unused?

yes I did clean few of later releases but not older ones. From cloning point it does not reduce anything
because the files will be there in repo but I cleaned up later versions because for adding recipes for newer releases from here on copying patch directories will save us adding unused new files.

Thanks

-Khem

#3 lore raw

2010/3/1 Khem Raj <[email protected]>:

Quoted 50 lines · Graham Gower
Quoted 40 lines · Frans Meulenbroeks
Quoted 39 lines

2010/3/1 Denys Dmytriyenko <[email protected]>:

Quoted 17 lines · Graham Gower
Quoted 16 lines

What should offend you more is stuff like this:

[grg@rak gcc]$ pwd /home/grg/oe/openembedded/recipes/gcc
[grg@rak gcc]$ find . -name svn-updates.dpatch -exec ls -l {} \; -rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.2/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.3/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.4/debian/svn-updates.dpatch

Quoted 8 lines
Quoted 6 lines

-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-svn/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-4.3.2/debian/svn-updates.dpatch
[grg@rak gcc]$ grep svn-updates *
[grg@rak gcc]$

So, there is 125 MB wasted right there... Thanks for the heads up! :)

Checked it and the 4.4.[12] and gcc-svn versions are gone. the gcc-4.3.[1-4] versions are still there but seem unused:

frans@linux-suse:~/oe/openembedded/recipes/gcc> grep -r svn-updates.dpatch . frans@linux-suse:~/oe/openembedded/recipes/gcc>

Howvever as gcc is quite core, I'd rather verify first that it is ok to remove them
(or can someone with more gcc knowledge remove)

Frans.

Quoted 8 lines
Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Perhaps there are other patches in the debian directories that are also unused?

Quoted 8 lines

yes I did clean few of later releases but not older ones. From cloning point it does not reduce anything
because the files will be there in repo but I cleaned up later versions because for adding recipes for newer releases from here on copying patch directories will save us adding unused new files.

Thanks

Are you in favor of cleaning up 4.3.* too?
Although it does not help from cloning point it does not clutter the dir and distract people from the real patches.
FM

#4 lore raw
Quoted 57 lines · Frans Meulenbroeks

2010/3/1 Khem Raj <[email protected]>:

Quoted 56 lines · Graham Gower
Quoted 40 lines · Frans Meulenbroeks
Quoted 39 lines

2010/3/1 Denys Dmytriyenko <[email protected]>:

Quoted 17 lines · Graham Gower
Quoted 16 lines

What should offend you more is stuff like this:

[grg@rak gcc]$ pwd /home/grg/oe/openembedded/recipes/gcc
[grg@rak gcc]$ find . -name svn-updates.dpatch -exec ls -l {} \; -rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.2/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.3/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.4/debian/svn-updates.dpatch

Quoted 8 lines
Quoted 6 lines

-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-svn/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-4.3.2/debian/svn-updates.dpatch
[grg@rak gcc]$ grep svn-updates *
[grg@rak gcc]$

So, there is 125 MB wasted right there... Thanks for the heads up! :)

Checked it and the 4.4.[12] and gcc-svn versions are gone. the gcc-4.3.[1-4] versions are still there but seem unused:

frans@linux-suse:~/oe/openembedded/recipes/gcc> grep -r svn-updates.dpatch . frans@linux-suse:~/oe/openembedded/recipes/gcc>

Howvever as gcc is quite core, I'd rather verify first that it is ok to remove them
(or can someone with more gcc knowledge remove)

Frans.

Quoted 8 lines
Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Perhaps there are other patches in the debian directories that are also unused?

yes I did clean few of later releases but not older ones. From cloning point it does not reduce anything
because the files will be there in repo but I cleaned up later versions because for adding recipes for newer releases from here on copying patch directories will save us adding unused new files.

Quoted 5 lines
Quoted 2 lines

Thanks

Are you in favor of cleaning up 4.3.* too?
Although it does not help from cloning point it does not clutter the dir and distract people from the real patches.

In gcc patches are unapplied and each patch might and sometimes it helps to see them in there if they are unused because they give you idea and sometimes they are the fixes, so I am neutral to such cleanups for me they don't mean much but I understand your point too.

Quoted 7 lines

FM

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#5 lore raw
In reply to Graham Gower

2010/3/1 Graham Gower <[email protected]>:

Quoted 46 lines · Frans Meulenbroeks
Quoted 37 lines

2010/3/1 Denys Dmytriyenko <[email protected]>:

Quoted 17 lines · Graham Gower
Quoted 16 lines

What should offend you more is stuff like this:

[grg@rak gcc]$ pwd /home/grg/oe/openembedded/recipes/gcc
[grg@rak gcc]$ find . -name svn-updates.dpatch -exec ls -l {} \; -rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.2/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.4.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.1/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.3/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59 ./gcc-4.3.4/debian/svn-updates.dpatch

Quoted 8 lines
Quoted 6 lines

-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-svn/debian/svn-updates.dpatch
-rw-r--r-- 1 grg users 17668056 2009-11-15 12:59
./gcc-4.3.2/debian/svn-updates.dpatch
[grg@rak gcc]$ grep svn-updates *
[grg@rak gcc]$

So, there is 125 MB wasted right there... Thanks for the heads up! :)

Checked it and the 4.4.[12] and gcc-svn versions are gone. the gcc-4.3.[1-4] versions are still there but seem unused:

frans@linux-suse:~/oe/openembedded/recipes/gcc> grep -r svn-updates.dpatch . frans@linux-suse:~/oe/openembedded/recipes/gcc>

Howvever as gcc is quite core, I'd rather verify first that it is ok to remove them
(or can someone with more gcc knowledge remove)

Quoted 7 lines

Frans.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 3 lines

Perhaps there are other patches in the debian directories that are also unused?

-Graham

Some of them definitely are:

I picked a random example:
./gcc-4.3.2/debian/hurd-changes.dpatch

frans@linux-suse:~/oe/openembedded/recipes/gcc> grep -r hurd-changes.dpatch . frans@linux-suse:~/oe/openembedded/recipes/gcc>

Actually I suspect that almost all files in the debian dirs are deadweight:
frans@linux-suse:~/oe/openembedded/recipes/gcc> grep debian *
gcc-4.3.1.inc: file://debian/arm-unbreak-eabi-armv4t.dpatch;patch=1 \
gcc-4.3.1.inc: file://debian/libstdc++-pic.dpatch;patch=1;pnum=0 \
gcc-4.3.1.inc: file://debian/gcc-ice-hack.dpatch;patch=1;pnum=0 \
gcc-4.3.1.inc: file://debian/pr30961.dpatch;patch=1;pnum=0 \
gcc-4.3.2.inc: file://debian/arm-unbreak-eabi-armv4t.dpatch;patch=1 \
gcc-4.3.2.inc: file://debian/libstdc++-pic.dpatch;patch=1;pnum=0 \
gcc-4.3.2.inc: file://debian/gcc-ice-hack.dpatch;patch=1;pnum=0 \
gcc-4.3.2.inc: file://debian/pr30961.dpatch;patch=1;pnum=0 \
gcc-4.3.3.inc: file://debian/arm-unbreak-eabi-armv4t.dpatch;patch=1 \
gcc-4.3.3.inc: file://debian/libstdc++-pic.dpatch;patch=1;pnum=0 \
gcc-4.3.3.inc: file://debian/gcc-ice-hack.dpatch;patch=1;pnum=0 \
gcc-4.3.3.inc: file://debian/pr30961.dpatch;patch=1;pnum=0 \
gcc-4.3.4.inc: file://debian/arm-unbreak-eabi-armv4t.dpatch;patch=1 \
gcc-4.3.4.inc: file://debian/libstdc++-pic.dpatch;patch=1;pnum=0 \
gcc-4.3.4.inc: file://debian/gcc-ice-hack.dpatch;patch=1;pnum=0 \
gcc-4.3.4.inc: file://debian/pr30961.dpatch;patch=1;pnum=0 \
frans@linux-suse:~/oe/openembedded/recipes/gcc>

So we use 4 of them.
and e.g. gcc-4.3.4/debian has 85 files in it:
frans@linux-suse:~/oe/openembedded/recipes/gcc> ls gcc-4.3.4/debian | wc

     85      85    1873

Frans