opensuse:expand-kernel-source.git
7 years agoUse multi-argument system()
Michal Marek [Thu, 19 Aug 2010 15:05:33 +0000 (17:05 +0200)]
Use multi-argument system()

7 years agoFix parallel mode
Michal Marek [Thu, 19 Aug 2010 14:38:13 +0000 (16:38 +0200)]
Fix parallel mode

7 years agoAdd --jobs option
Michal Marek [Thu, 19 Aug 2010 14:14:03 +0000 (16:14 +0200)]
Add --jobs option

7 years agoUpdate list of bitkeeper snapshot ids
Michal Marek [Thu, 19 Aug 2010 09:01:33 +0000 (11:01 +0200)]
Update list of bitkeeper snapshot ids

7 years agoFix for branches with broken root commit
Michal Marek [Thu, 19 Aug 2010 08:50:08 +0000 (10:50 +0200)]
Fix for branches with broken root commit

7 years agoSUSE::Util: Use carp() instead of die()
Michal Marek [Thu, 19 Aug 2010 08:45:03 +0000 (10:45 +0200)]
SUSE::Util: Use carp() instead of die()

7 years agoFix for branches that contain only unpacked source packages
Michal Marek [Thu, 19 Aug 2010 08:44:41 +0000 (10:44 +0200)]
Fix for branches that contain only unpacked source packages

7 years agoFix --all with no explicit refs
Michal Marek [Wed, 11 Aug 2010 13:17:56 +0000 (15:17 +0200)]
Fix --all with no explicit refs

7 years agoexpand-trees: Another fix for the 2.6.8-rcX workaround
Michal Marek [Mon, 9 Aug 2010 19:46:38 +0000 (21:46 +0200)]
expand-trees: Another fix for the 2.6.8-rcX workaround

7 years agoexpand-trees: Use the mainline-commit script
Michal Marek [Mon, 9 Aug 2010 19:42:34 +0000 (21:42 +0200)]
expand-trees: Use the mainline-commit script

7 years agoexpand-trees: Fetch mainline and history tree before starting
Michal Marek [Mon, 9 Aug 2010 15:05:27 +0000 (17:05 +0200)]
expand-trees: Fetch mainline and history tree before starting

7 years agoexpand-trees: Fix for ambiguous v2.6.11 tag
Michal Marek [Mon, 9 Aug 2010 15:04:55 +0000 (17:04 +0200)]
expand-trees: Fix for ambiguous v2.6.11 tag

7 years agoFix workaround for 2.6.8-rc* patches
Michal Marek [Mon, 9 Aug 2010 14:42:57 +0000 (16:42 +0200)]
Fix workaround for 2.6.8-rc* patches

7 years agoMake the mainline-commit more robust
Michal Marek [Mon, 9 Aug 2010 13:15:48 +0000 (15:15 +0200)]
Make the mainline-commit more robust

This was tested against all mainline versions in master. The only
unsolved problem is the 2.6.11.y series, for which there is no usable
git tree (except for 2.6.11.1..2.6.11.5 in the history tree).

7 years agomainline-commit: Fix for 2.5.x versions
Michal Marek [Thu, 29 Jul 2010 13:42:44 +0000 (15:42 +0200)]
mainline-commit: Fix for 2.5.x versions

7 years agoFix for .y in EXTRAVERSION
Michal Marek [Wed, 28 Jul 2010 16:02:54 +0000 (18:02 +0200)]
Fix for .y in EXTRAVERSION

7 years agoWork around old patches that cripple EXTRAVERSION
Michal Marek [Tue, 27 Jul 2010 21:59:39 +0000 (23:59 +0200)]
Work around old patches that cripple EXTRAVERSION

7 years agoWork around odd difference between 2.6.7 tarball and git tree
Michal Marek [Tue, 27 Jul 2010 20:51:49 +0000 (22:51 +0200)]
Work around odd difference between 2.6.7 tarball and git tree

7 years agoPrint progress when loading data from kernel-source.git
Michal Marek [Tue, 27 Jul 2010 15:48:38 +0000 (17:48 +0200)]
Print progress when loading data from kernel-source.git

7 years agoHardcode a map of -bk snapshots to git commits
Michal Marek [Thu, 1 Jul 2010 13:17:47 +0000 (15:17 +0200)]
Hardcode a map of -bk snapshots to git commits

The script to generate the map is also included.

7 years agoSort trees by their srcversion before expanding
Michal Marek [Tue, 29 Jun 2010 14:14:12 +0000 (16:14 +0200)]
Sort trees by their srcversion before expanding

This should speed up the process a bit.

7 years agoUse the guards script to filter series.conf
Michal Marek [Thu, 24 Jun 2010 15:01:20 +0000 (17:01 +0200)]
Use the guards script to filter series.conf

And select patches for IA32.

7 years agoexpand-trees: Ignore fancy expressions in EXTRAVERSION
Michal Marek [Wed, 23 Jun 2010 14:58:17 +0000 (16:58 +0200)]
expand-trees: Ignore fancy expressions in EXTRAVERSION

7 years agoTranslate commit ids in changelogs
Michal Marek [Wed, 23 Jun 2010 09:43:22 +0000 (11:43 +0200)]
Translate commit ids in changelogs

7 years agoAdd option --all to expand all branches and tags
Michal Marek [Tue, 22 Jun 2010 14:54:10 +0000 (16:54 +0200)]
Add option --all to expand all branches and tags

7 years agomainline-commit: Explicitely fetch from Linus' tree
Michal Marek [Tue, 22 Jun 2010 14:53:37 +0000 (16:53 +0200)]
mainline-commit: Explicitely fetch from Linus' tree

7 years agoDo not try to expand refs that point to excluded commits
Michal Marek [Tue, 22 Jun 2010 13:47:41 +0000 (15:47 +0200)]
Do not try to expand refs that point to excluded commits

7 years agoAdd support for expanding tags
Michal Marek [Tue, 22 Jun 2010 13:24:14 +0000 (15:24 +0200)]
Add support for expanding tags

7 years agoPrint progress
Michal Marek [Tue, 22 Jun 2010 12:11:40 +0000 (14:11 +0200)]
Print progress

7 years agoMove some more logic to SUSE::Kernel::Git
Michal Marek [Tue, 22 Jun 2010 12:06:42 +0000 (14:06 +0200)]
Move some more logic to SUSE::Kernel::Git

7 years agoDrop per-branch excludes, use a global limit only
Michal Marek [Tue, 22 Jun 2010 11:58:18 +0000 (13:58 +0200)]
Drop per-branch excludes, use a global limit only

The per-branch excludes (1234..branch1 2345..branch2) were only useful
for debugging and made the code unnecessarily complicated.

7 years agoFix typo in error message
Michal Marek [Tue, 22 Jun 2010 09:36:35 +0000 (11:36 +0200)]
Fix typo in error message

7 years agoSave mainline commit ids in refs/tags/mainline-commits
Michal Marek [Mon, 21 Jun 2010 14:36:37 +0000 (16:36 +0200)]
Save mainline commit ids in refs/tags/mainline-commits

7 years agoRemove debug output
Michal Marek [Tue, 15 Jun 2010 14:10:30 +0000 (16:10 +0200)]
Remove debug output

7 years agoFix marking of broken trees
Michal Marek [Tue, 15 Jun 2010 12:50:11 +0000 (14:50 +0200)]
Fix marking of broken trees

If the parent tree was broken as well, the commit would delete all files
and only place the BROKEN marker in the root directory.

7 years agoMerge with mainline / stable on version updates
Michal Marek [Tue, 15 Jun 2010 08:42:40 +0000 (10:42 +0200)]
Merge with mainline / stable on version updates

Signed-off-by: Michal Marek <mmarek@suse.cz>
7 years agoexpand-kernel-source.pl: Make %expanded_trees easier to use
Michal Marek [Mon, 14 Jun 2010 13:32:08 +0000 (15:32 +0200)]
expand-kernel-source.pl: Make %expanded_trees easier to use

Add $revs{...}->{expanded} pointers to the %expanded_trees hash.

7 years agoexpand-kernel-source.pl: Better support for broken trees
Michal Marek [Mon, 14 Jun 2010 10:55:25 +0000 (12:55 +0200)]
expand-kernel-source.pl: Better support for broken trees

Instead of creating a tree with only the BROKEN file, reuse the tree
of the last working parent and add the BROKEN file.

7 years agoexpand-kernel-source.pl: Parse all information from expanded-trees
Michal Marek [Thu, 10 Jun 2010 21:05:43 +0000 (23:05 +0200)]
expand-kernel-source.pl: Parse all information from expanded-trees

Store also the upstream version and the BROKEN flag in the
%expanded_trees hash.

7 years agoexpand-kernel-source.pl: Do not waste file descriptors
Michal Marek [Thu, 10 Jun 2010 08:59:42 +0000 (10:59 +0200)]
expand-kernel-source.pl: Do not waste file descriptors

7 years agoexpand-kernel-source.pl: Make --incremental more automatic
Michal Marek [Wed, 9 Jun 2010 13:59:54 +0000 (15:59 +0200)]
expand-kernel-source.pl: Make --incremental more automatic

7 years agoexpand-kernel-source.pl: Process global excludes first
Michal Marek [Wed, 9 Jun 2010 13:47:24 +0000 (15:47 +0200)]
expand-kernel-source.pl: Process global excludes first

7 years agoexpand-kernel-source.pl: Add global exclude using ^branch
Michal Marek [Wed, 9 Jun 2010 13:22:24 +0000 (15:22 +0200)]
expand-kernel-source.pl: Add global exclude using ^branch

This is needed to exclude the 'scripts' branch of the kernel-source
repository.

7 years agoAdd a readme file
Michal Marek [Wed, 9 Jun 2010 11:40:34 +0000 (13:40 +0200)]
Add a readme file

7 years agoexpand-kernel-source.pl: Add --incremental option
Michal Marek [Tue, 8 Jun 2010 15:00:23 +0000 (17:00 +0200)]
expand-kernel-source.pl: Add --incremental option

This resumes where the previous run stopped. The user must ensure that
the previous run stopped exactly at the point where this run should
start at, as in

   ./expand-kernel-source.pl ... --incremental 1234...5678:branch
   ./expand-kernel-source.pl ... --incremental 5678...9abc:branch

7 years agoexpand-kernel-source.pl: Rename some variables
Michal Marek [Tue, 8 Jun 2010 11:41:27 +0000 (13:41 +0200)]
expand-kernel-source.pl: Rename some variables

$mainline -> $mainline_path
$suse -> $suse_path

7 years agoexpand-kernel-source.pl: Add missing close
Michal Marek [Fri, 14 May 2010 15:29:05 +0000 (17:29 +0200)]
expand-kernel-source.pl: Add missing close

7 years agoexpand-kernel-source.pl: Reduce the number of trees to expand
Michal Marek [Fri, 14 May 2010 15:26:32 +0000 (17:26 +0200)]
expand-kernel-source.pl: Reduce the number of trees to expand

Only filter series.conf, patches.*/ and {rpm,scripts}/config.sh from
each tree to reduce the number of trees to expand (saves about 1/4 of
work on the master branch).

7 years agoexpand-kernel-source.pl: Fix typo
Michal Marek [Fri, 14 May 2010 13:46:09 +0000 (15:46 +0200)]
expand-kernel-source.pl: Fix typo

7 years agoSUSE::Kernel::Git: Fix return on subprocess error
Michal Marek [Fri, 14 May 2010 13:22:49 +0000 (15:22 +0200)]
SUSE::Kernel::Git: Fix return on subprocess error

7 years agoexpand-kernel-source.pl: Extend the range syntax a bit
Michal Marek [Fri, 14 May 2010 13:12:36 +0000 (15:12 +0200)]
expand-kernel-source.pl: Extend the range syntax a bit

7 years agoexpand-kernel-source.pl: Use IPC::Open2 instead of tmp files
Michal Marek [Fri, 14 May 2010 12:27:51 +0000 (14:27 +0200)]
expand-kernel-source.pl: Use IPC::Open2 instead of tmp files

7 years agoexpand-trees: Use a dummy tree if the series does not apply
Michal Marek [Fri, 14 May 2010 11:38:52 +0000 (13:38 +0200)]
expand-trees: Use a dummy tree if the series does not apply

7 years agoexpand-kernel-source.pl: Expand branches of kernel-source.git
Michal Marek [Fri, 14 May 2010 11:02:01 +0000 (13:02 +0200)]
expand-kernel-source.pl: Expand branches of kernel-source.git

7 years agoexpand-trees: Fix --append if the branch does not exist
Michal Marek [Fri, 14 May 2010 10:59:21 +0000 (12:59 +0200)]
expand-trees: Fix --append if the branch does not exist

7 years agoexpand-trees: Cleanup the working directory when done
Michal Marek [Fri, 14 May 2010 09:59:26 +0000 (11:59 +0200)]
expand-trees: Cleanup the working directory when done

7 years agoexpand-trees: Add --append option
Michal Marek [Thu, 13 May 2010 17:05:54 +0000 (19:05 +0200)]
expand-trees: Add --append option

With this option, an existing expanded-trees branch is not overwritten.

7 years agoexpand-commits -> expand-tree: work with tree objects directly
Michal Marek [Mon, 10 May 2010 19:54:23 +0000 (21:54 +0200)]
expand-commits -> expand-tree: work with tree objects directly

Also, store the results in refs/heads/expanded-trees by default.

7 years agoexpand-commits: log to stderr
Michal Marek [Mon, 10 May 2010 15:16:34 +0000 (17:16 +0200)]
expand-commits: log to stderr

7 years agoexpand-commits: Old kernels used $VERSION instead of $SRCVERSION
Michal Marek [Fri, 7 May 2010 14:05:42 +0000 (16:05 +0200)]
expand-commits: Old kernels used $VERSION instead of $SRCVERSION

7 years agoexpand-commits: cd to mainline git before doing anything
Michal Marek [Fri, 7 May 2010 13:49:55 +0000 (15:49 +0200)]
expand-commits: cd to mainline git before doing anything

7 years agoInitial import
Michal Marek [Fri, 7 May 2010 13:13:07 +0000 (15:13 +0200)]
Initial import

expand-commits creates patched tree objects in the mainline git
for given suse commit ids and stores them in refs/heads/expanded-commits.

mainline-commit maps mainline versions to commit ids.