opensuse:expand-kernel-source.git
6 years agoupdate-vanilla: Make the script less chatty master
Michal Marek [Sun, 6 May 2012 19:51:27 +0000 (21:51 +0200)]
update-vanilla: Make the script less chatty

6 years agoupdate-vanilla.sh: Remove ssh agent handling
Michal Marek [Sun, 6 May 2012 19:31:28 +0000 (21:31 +0200)]
update-vanilla.sh: Remove ssh agent handling

The ssh connectio details should be done outside this script.

6 years agoupdate-vanilla.sh: Fix adding the extraversion patch
Michal Marek [Thu, 8 Mar 2012 10:39:44 +0000 (11:39 +0100)]
update-vanilla.sh: Fix adding the extraversion patch

7 years agoUpdate scripts/mainline-commit to match new git tree locations
Hannes Reinecke [Fri, 7 Oct 2011 09:24:30 +0000 (11:24 +0200)]
Update scripts/mainline-commit to match new git tree locations

Hi all,

as you might've seen kernel.org is (partially) back on-line.
However, some git tree locations have been moved.

Signed-off-by: Michal Marek <mmarek@suse.cz>
7 years agoMerge branch 'bs-upload-kernel' into opensuse
Michal Marek [Mon, 3 Oct 2011 14:37:03 +0000 (16:37 +0200)]
Merge branch 'bs-upload-kernel' into opensuse

7 years agobs-upload-kernel: Automatically create links for additional specfiles
Michal Marek [Mon, 3 Oct 2011 14:22:52 +0000 (16:22 +0200)]
bs-upload-kernel: Automatically create links for additional specfiles

7 years agobs-upload-kernel: Create the target package if it does not exist
Michal Marek [Mon, 3 Oct 2011 14:06:01 +0000 (16:06 +0200)]
bs-upload-kernel: Create the target package if it does not exist

7 years agobs-upload-kernel: Make the package argument optional
Michal Marek [Mon, 3 Oct 2011 13:29:09 +0000 (15:29 +0200)]
bs-upload-kernel: Make the package argument optional

Use the basename of the local directory as a fallback.

7 years agobs-upload-kernel: Include the commit id in the changelog
Michal Marek [Mon, 3 Oct 2011 13:16:05 +0000 (15:16 +0200)]
bs-upload-kernel: Include the commit id in the changelog

7 years agobs-upload-kernel: Uploads a kernel package to the build service
Michal Marek [Fri, 30 Sep 2011 15:01:41 +0000 (17:01 +0200)]
bs-upload-kernel: Uploads a kernel package to the build service

7 years agomainline-commit: Fix for 3.0 final
Michal Marek [Mon, 25 Jul 2011 09:06:14 +0000 (11:06 +0200)]
mainline-commit: Fix for 3.0 final

7 years agoupdate-vanilla.sh: Omit the last .0 in linux-next
Michal Marek [Thu, 16 Jun 2011 11:29:06 +0000 (13:29 +0200)]
update-vanilla.sh: Omit the last .0 in linux-next

7 years agoRevert "update-vanilla: Set SRCVERSION to 3.0.0-rcX instead of 3.0"
Michal Marek [Mon, 13 Jun 2011 14:29:04 +0000 (16:29 +0200)]
Revert "update-vanilla: Set SRCVERSION to 3.0.0-rcX instead of 3.0"

This reverts commit 804081e185a75af30e033d33547a93fc52d145f7. The
specfiles are fixed to handle the two-number SRCVERSION.

7 years agoupdate-vanilla: Set SRCVERSION to 3.0.0-rcX instead of 3.0
Michal Marek [Tue, 7 Jun 2011 13:11:06 +0000 (15:11 +0200)]
update-vanilla: Set SRCVERSION to 3.0.0-rcX instead of 3.0

7 years agoupdate-vanilla.sh: Fix for 3.0
Michal Marek [Tue, 7 Jun 2011 09:31:56 +0000 (11:31 +0200)]
update-vanilla.sh: Fix for 3.0

7 years agomainline-commit: Treat 3.0.0-rcX as 3.0-rcX
Michal Marek [Thu, 2 Jun 2011 12:56:30 +0000 (14:56 +0200)]
mainline-commit: Treat 3.0.0-rcX as 3.0-rcX

7 years agocompute-version: Handle X.Y versions
Michal Marek [Thu, 2 Jun 2011 09:26:33 +0000 (11:26 +0200)]
compute-version: Handle X.Y versions

7 years agomainline-commit: Handle 3.x
Michal Marek [Thu, 2 Jun 2011 09:21:39 +0000 (11:21 +0200)]
mainline-commit: Handle 3.x

7 years agomainline-commit: Fix kernel_version() to work with 3.0
Michal Marek [Thu, 2 Jun 2011 08:54:32 +0000 (10:54 +0200)]
mainline-commit: Fix kernel_version() to work with 3.0

7 years agoupdate-vanilla.sh: Add --no-push option
Michal Marek [Tue, 22 Feb 2011 10:31:06 +0000 (11:31 +0100)]
update-vanilla.sh: Add --no-push option

7 years agoupdate-vanilla.sh: Fix option processing
Michal Marek [Tue, 22 Feb 2011 09:07:01 +0000 (10:07 +0100)]
update-vanilla.sh: Fix option processing

7 years agoupdate-vanilla.sh: Apply patches before running oldconfig
Michal Marek [Mon, 21 Feb 2011 16:07:14 +0000 (17:07 +0100)]
update-vanilla.sh: Apply patches before running oldconfig

7 years agoupdate-vanilla.sh: Set EXTRAVERSION field to match 'git describe'
Michal Marek [Mon, 14 Feb 2011 14:49:00 +0000 (15:49 +0100)]
update-vanilla.sh: Set EXTRAVERSION field to match 'git describe'

7 years agoChange the SRCVERSION format for linux-next to 2.6.<version>-next-<date>
Michal Marek [Fri, 4 Feb 2011 21:34:27 +0000 (22:34 +0100)]
Change the SRCVERSION format for linux-next to 2.6.<version>-next-<date>

7 years agoMove code to determine version of a Makefile to a standalone script
Michal Marek [Fri, 4 Feb 2011 21:26:08 +0000 (22:26 +0100)]
Move code to determine version of a Makefile to a standalone script

7 years agoupdate-vanilla.sh: Allow to select which branches to update
Michal Marek [Mon, 31 Jan 2011 13:29:41 +0000 (14:29 +0100)]
update-vanilla.sh: Allow to select which branches to update

7 years agoupdate-vanilla.sh: Correct git url as per Stephen's suggestion
Michal Marek [Sun, 23 Jan 2011 20:10:33 +0000 (21:10 +0100)]
update-vanilla.sh: Correct git url as per Stephen's suggestion

7 years agoupdate-vanilla.sh: Remove unused variables and options
Michal Marek [Sat, 22 Jan 2011 13:34:43 +0000 (14:34 +0100)]
update-vanilla.sh: Remove unused variables and options

7 years agoupdate-vanilla.sh: Add support for linux-next
Michal Marek [Mon, 17 Jan 2011 13:49:37 +0000 (14:49 +0100)]
update-vanilla.sh: Add support for linux-next

7 years agoupdate-vanilla.sh: Refactor to be able to add further branches
Michal Marek [Mon, 17 Jan 2011 13:00:40 +0000 (14:00 +0100)]
update-vanilla.sh: Refactor to be able to add further branches

7 years agoAdd script used for updating the vanilla branch of kernel-source.git
Michal Marek [Fri, 14 Jan 2011 16:25:50 +0000 (17:25 +0100)]
Add script used for updating the vanilla branch of kernel-source.git

7 years agomainline-commit: Handle the new "longterm" git trees
Michal Marek [Tue, 11 Jan 2011 13:39:12 +0000 (14:39 +0100)]
mainline-commit: Handle the new "longterm" git trees

7 years agomainline-commit: Fix fetching of non-tagged commits
Michal Marek [Thu, 9 Dec 2010 09:52:55 +0000 (10:52 +0100)]
mainline-commit: Fix fetching of non-tagged commits

8 years agoexpand-kernel-source.pl: Only update refs that have changes
Michal Marek [Mon, 13 Sep 2010 13:03:37 +0000 (15:03 +0200)]
expand-kernel-source.pl: Only update refs that have changes

8 years agoSUSE::Kernel::Git: Add ->run_cmd()
Michal Marek [Mon, 13 Sep 2010 12:52:44 +0000 (14:52 +0200)]
SUSE::Kernel::Git: Add ->run_cmd()

8 years agoexpand-kernel-source.pl: Remeber expanded tags in incremental mode
Michal Marek [Mon, 13 Sep 2010 12:50:09 +0000 (14:50 +0200)]
expand-kernel-source.pl: Remeber expanded tags in incremental mode

8 years agomainline-commit: Do not overwrite the master branch
Michal Marek [Fri, 10 Sep 2010 12:52:38 +0000 (14:52 +0200)]
mainline-commit: Do not overwrite the master branch

Store upstream branches in upstream/<basename of the repository>, e.g.
upstream/history, upstream/linux-2.6.13.y

8 years agoexpand-kernel-source.pl: Fix path to mainline-commit helper
Michal Marek [Fri, 10 Sep 2010 12:51:51 +0000 (14:51 +0200)]
expand-kernel-source.pl: Fix path to mainline-commit helper

8 years agoMove all scripts to bin/
Michal Marek [Thu, 9 Sep 2010 14:42:52 +0000 (16:42 +0200)]
Move all scripts to bin/

8 years agoFix handling of broken trees in incremental mode
Michal Marek [Thu, 26 Aug 2010 13:50:15 +0000 (15:50 +0200)]
Fix handling of broken trees in incremental mode

Resuming from a working commit to add a broken commit did not work.
Resuming from a broken commit did not work at all.

8 years agoFix thinko in mark_tree_broken
Michal Marek [Thu, 26 Aug 2010 13:49:00 +0000 (15:49 +0200)]
Fix thinko in mark_tree_broken

8 years agoFix incremental mode
Michal Marek [Mon, 23 Aug 2010 13:33:51 +0000 (15:33 +0200)]
Fix incremental mode

We did not have information (version number, broken flag) about trees
expanded in previous runs.

8 years agoFix typo
Michal Marek [Fri, 20 Aug 2010 12:51:26 +0000 (14:51 +0200)]
Fix typo

8 years agoDo not fetch from upstream if they do not have the tag
Michal Marek [Fri, 20 Aug 2010 12:21:35 +0000 (14:21 +0200)]
Do not fetch from upstream if they do not have the tag

8 years agoCache subtree ids
Michal Marek [Fri, 20 Aug 2010 11:34:34 +0000 (13:34 +0200)]
Cache subtree ids

8 years agoFetch -rt release tags from linux-2.6-tip.git
Michal Marek [Fri, 20 Aug 2010 11:29:52 +0000 (13:29 +0200)]
Fetch -rt release tags from linux-2.6-tip.git

8 years agoOnly fetch "official" tags from upstream repositories
Michal Marek [Fri, 20 Aug 2010 11:29:11 +0000 (13:29 +0200)]
Only fetch "official" tags from upstream repositories

8 years agoFix for -rc versions of stable releases
Michal Marek [Fri, 20 Aug 2010 09:14:16 +0000 (11:14 +0200)]
Fix for -rc versions of stable releases

8 years agoCache also negative hits from mainline-commit
Michal Marek [Fri, 20 Aug 2010 09:09:03 +0000 (11:09 +0200)]
Cache also negative hits from mainline-commit

8 years agoAlways run expand-trees with --apend
Michal Marek [Fri, 20 Aug 2010 08:02:29 +0000 (10:02 +0200)]
Always run expand-trees with --apend

In parallel mode, we create a fresh clone each time, so it is safe to
use --apend.

8 years agoRun git gc --auto after each expanded tree
Michal Marek [Fri, 20 Aug 2010 05:58:35 +0000 (07:58 +0200)]
Run git gc --auto after each expanded tree

8 years agoUse rsync instead of git fetch to collect results of jobs
Michal Marek [Thu, 19 Aug 2010 15:11:03 +0000 (17:11 +0200)]
Use rsync instead of git fetch to collect results of jobs

8 years agoUse multi-argument system()
Michal Marek [Thu, 19 Aug 2010 15:05:33 +0000 (17:05 +0200)]
Use multi-argument system()

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

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

8 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

8 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

8 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()

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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).

8 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

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

8 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

8 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

8 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

8 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.

8 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.

8 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.

8 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

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

8 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

8 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

8 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

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

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

8 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

8 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.

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

8 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

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

8 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.

8 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>
8 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.

8 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.

8 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.

8 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

8 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

8 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

8 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.

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

8 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

8 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

8 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

8 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).