Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199624 - vanilla-sources should use incremental patches
Summary: vanilla-sources should use incremental patches
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 02:49 UTC by Firas Kraiem
Modified: 2007-11-19 13:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Firas Kraiem 2007-11-19 02:49:33 UTC
I think it would be nice if vanilla-sources used incremental patches.

For example, the current vanilla-sources version is 2.6.24-rc3, and if I want to upgrade from 2.6.24-rc2, I have to download the whole 2.6.23 to 2.6.24-rc3 patch. Since a 2.6.24-rc2 to -rc3 patch exists, I think it would make more sense to use it, since it would be easier on low connections, as well as save mirrors space and bandwidth.

Reproducible: Always

Steps to Reproduce:
1. emerge vanilla-sources-2.6.24_rc2
2. emerge vanilla-sources-2.6.24_rc3
Actual Results:  
It downloads the whole 2.6.23 to 2.6.24-rc3 patch.

Expected Results:  
It should download only the 2.6.24-rc2 to -rc3 patch.

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.22-gentoo-r8-nobue i686)
=================================================================
System uname: 2.6.22-gentoo-r8-nobue i686 AMD Athlon(tm) 64 FX-62 Dual Core Processor
Timestamp of tree: Sun, 18 Nov 2007 18:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-fx -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon-fx -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/data/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/xeffects /usr/portage/local/layman/custom-kernels"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa arts bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups custom-cflags dbus dri dvd dvdr dvdread emboss esd evo fam ffmpeg firefox flac fortran ftp gdbm gif gpm gtk hal iconv imagemagick isdnlog jpeg kde kdeenablefinal kerberos ldap libnotify lm_sensors logrotate mad md5sum midi mikmod mmx mmxext mng mp3 mpeg mudflap ncurses nls nptl nptlonly offensive ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rar readline reflection sdl session smp spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vidix vorbis win32codecs x264 x86 xcomposite xine xml xorg xrandr xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-19 06:10:25 UTC
It's not really possible to do it this way. How do we know that you have 2.6.24-rc2 already downloaded? We don't... so we cannot make SRC_URI guess.
Comment 2 Firas Kraiem 2007-11-19 13:00:43 UTC
(In reply to comment #1)
> It's not really possible to do it this way. How do we know that you have
> 2.6.24-rc2 already downloaded? We don't... so we cannot make SRC_URI guess.
> 

Well, wouldn't it be possible to, regardless of what is already installed, make it successively download and apply 2.6.23 to 2.6.24-rc1, then rc1-to -rc2 and rc-2 to -rc3 ? That way, if some of the patches are already in the distiles dir, they won't be downloaded again, will they ?