Commit Graph

284 Commits

Author SHA1 Message Date
Martin Liska
7d7481ecbc branch_changer: distinguish terminal output
maintainer-scripts/ChangeLog:

	* branch_changer.py: Generate URL only when emitting
	to terminal.
2021-04-09 13:39:30 +02:00
Martin Liska
a0bb9b3b9d branch_changer.py: mention CLOSING candidates
maintainer-scripts/ChangeLog:

	* branch_changer.py: Mention closing candidates and emit
	console links to bugzilla.
2021-04-09 13:30:56 +02:00
Martin Liska
2b2f687fb0 branch_changer.py: document more behavior.
maintainer-scripts/ChangeLog:

	* branch_changer.py: Document more how the script behaves.
2021-04-09 13:19:15 +02:00
Martin Liska
a7ce23cec4 branch_changer: fix usage of Version class.
maintainer-scripts/ChangeLog:

	* branch_changer.py: Fix usage of Version class.
2021-04-09 11:35:09 +02:00
Martin Liska
34bf325000 branch_changer.py: use new versioning scheme.
maintainer-scripts/ChangeLog:

	* branch_changer.py: Use new version scheme in --help output.
2021-04-09 10:43:53 +02:00
GCC Administrator
019a922063 Daily bump. 2021-04-09 00:16:56 +00:00
Jonathan Wakely
acbbb82ea3 maintainer-scripts: Disable multilib when generating libstdc++ docs
This allows the docs to be generated on hosts without the necessary
files present for multilib support.

maintainer-scripts/ChangeLog:

	* generate_libstdcxx_web_docs: Add --disable-multilib to
	configure command.
2021-04-08 14:51:03 +01:00
Martin Liska
855ce47588 Fix wrong assert in branch_changer.py.
maintainer-scripts/ChangeLog:

	* branch_changer.py: Fix wrongly converted assert.
2021-04-08 15:20:04 +02:00
Martin Liska
9e07b0bfe8 Modernize branch_changer.py script.
maintainer-scripts/ChangeLog:

	* branch_changer.py: Modernize and fix flake8 issues.
	* setup.cfg: New file.
2021-04-08 14:45:01 +02:00
GCC Administrator
eefe499fdf Daily bump. 2020-12-17 00:16:37 +00:00
Jakub Jelinek
f4ae1f2c43 maintainer-scripts: Use /sourceware/snapshot-tmp/gcc as temp directory if possible
> https://gcc.gnu.org/pipermail/gccadmin/2020q4/017037.html
>
> OSError: [Errno 28] No space left on device:
> '/tmp/tmp.Zq3p6D4MxS/gcc/.git/objects/objn31xpefh' ->
> '/tmp/tmp.Zq3p6D4MxS/gcc/.git/objects/db/ffb02a4bcdd4ec04af3db75d86b8cc2e52bdff'
>
> Maybe change the script to use /sourceware/snapshot-tmp/gcc (which has
> rather more space) instead of /tmp?

This patch implements that.

2020-12-17  Jakub Jelinek  <jakub@redhat.com>

	* update_version_git: Put BASEDIR into /sourceware/snapshot-tmp/gcc
	if it exist.
2020-12-17 00:15:23 +01:00
GCC Administrator
885ef72f27 Daily bump. 2020-05-30 00:16:27 +00:00
Martin Liska
5e54b01f2b
bugzilla-close-candidate.py: Fix sorting of branches.
Pushed to master.

maintainer-scripts/ChangeLog:

	* bugzilla-close-candidate.py: Fix sorting of branches.
2020-05-29 16:37:48 +02:00
Martin Liska
bd4291a1c4
Fix parsing of SVN commits in PRs.
Tested and pushed to master.

maintainer-scripts/ChangeLog:

	* bugzilla-close-candidate.py: Fix parsing of SVN revisions.
	Fix skipping of PRs that contain Can be closed message.
2020-05-29 16:10:59 +02:00
Martin Liska
c92716b2b1
Port bugzilla-close-candidate script to git.
maintainer-scripts/ChangeLog:

	* bugzilla-close-candidate.py: Support both SVN and GIT messages
	in PRs. Remove need of usage of the bugzilla API key.
2020-05-29 13:22:29 +02:00
GCC Administrator
61f3b60556 Daily bump. 2020-05-28 04:23:50 +00:00
Jakub Jelinek
79ea774f9a Rewrite maintainer-scripts/update_version_git
This patch rewrites update_version_git to be just a thin wrapper around
Martin's new python script.  This just arranges to check out the gcc
repo in a temporary directory, copy out the contrib scripts so that
the running script doesn't change with branch checkouts and runs the script.

I've run it today manually but hopefully we can do it from cron again
from tomorrow.

2020-05-27  Jakub Jelinek  <jakub@redhat.com>

	* update_version_git: Rewrite using
	contrib/gcc-changelog/git_update_version.py.
2020-05-27 10:24:09 +02:00
Jakub Jelinek
4bc0bb440e Adjust crontab.
2020-04-30  Jakub Jelinek  <jakub@redhat.com>

	* crontab: Snapshots from trunk are now GCC 11 related.
	Add GCC 10 snapshots from the respective branch.
2020-04-30 19:25:03 +02:00
Jakub Jelinek
c56871dd15 maintainer-scripts: Fix up gcc_release without -l, where mkdir was using umask 077 after migration
2020-03-12  Jakub Jelinek  <jakub@redhat.com>

	* gcc_release (upload_files): Without -l, pass -m 755 to the mkdir
	command invoked through ssh.
2020-03-12 18:30:16 +01:00
Jakub Jelinek
a0ae4cbe9d maintainer-scripts: Fix jit documentation build with update_web_docs_git
scripts/update_web_docs_git -r 9.3.0 -d gcc-9.3.0
failed after the sourceware upgrade, there is no python-sphinx10 package and
python3-sphinx is new enough that the docs build succeeded.

2020-03-12  Jakub Jelinek  <jakub@redhat.com>

	* update_web_docs_git: Drop SPHINXBUILD=/usr/bin/sphinx-1.0-build.
2020-03-12 14:46:28 +01:00
Jakub Jelinek
494e434c05 maintainer-scripts: Speed up git clone in gcc_release
When doing the 8.4-rc1, I've noticed (probably also because of the dying
disk on sourceware) that git clone is extremely slow, and furthermore when
all of us have some local snapshots, it is a waste of resources to download
everything again.  Especially for the -f runs when we'll need to wait until
git tag -s asks us for a gpg password interactively.

The following patch adds an option through which one can point the script
at a local gcc .git directory from which it can --dissociate --reference ...
during cloning to speed it up.

2020-02-27  Jakub Jelinek  <jakub@redhat.com>

	* gcc_release: Add support for -b local-git-repo argument.
2020-02-27 09:38:12 +01:00
Jonathan Wakely
97e2f33308 Replace update_web_docs_libstdcxx_svn with update_web_docs_libstdcxx_git
This patch replaces the update_web_docs_libstdcxx_svn script, that
updates online documentation from its sources in the GCC repository, run
once a day from cron, with update_web_docs_libstdcxx_git.

	* update_web_docs_libstdcxx_git: New file.
	* update_web_docs_libstdcxx_svn: Remove.
	* crontab: Use update_web_docs_libstdcxx_git.
2020-01-13 21:40:44 +00:00
Joseph Myers
33742a0a02 Replace update_web_docs_svn with update_web_docs_git.
This patch replaces the update_web_docs_svn script, that updates
online documentation from its sources in the GCC repository, run once
a day from cron, with update_web_docs_git.

	* update_web_docs_git: New file.
	* update_web_docs_svn: Remove.
	* crontab: Use update_web_docs_svn.
2020-01-13 17:43:52 +00:00
Joseph Myers
67e6357041 Update gcc_release for move to git.
This patch updates the gcc_release script, used for snapshots and
releases, to use git instead of SVN.

The parts of the changes used in building snapshots have been tested.
The parts used for building releases have not, so it's likely further
fixes may turn out to be needed there when releases are first built
from git.

	* gcc_release: Use git instead of SVN.
	* crontab: Update gcc_release calls.
2020-01-13 12:45:31 +00:00
Joseph Myers
18cb6ac26f Replace update_version_svn with update_version_git.
This patch replaces the update_version_svn script, that updates the
DATESTAMP files from cron, with update_version_git.

	* update_version_git: New file.
	* update_version:svn: Remove.
	* crontab: Use update_version_git.
2020-01-13 12:29:02 +00:00
Janne Blomqvist
aeebd94c77 Switch gcc ftp URL's to https
The FTP protocol is getting long in the tooth, and we should emphasize
HTTPS where that is available. This patch changes various gcc.gnu.org
URL's to instead use HTTPS.

For instance, kernel.org shut down FTP access in 2017, with the
explanation:

- The protocol is inefficient and requires adding awkward kludges to
  firewalls and load-balancing daemons
- FTP servers have no support for caching or accelerators, which has
  significant performance impacts
- Most software implementations have stagnated and see infrequent
  updates

ChangeLog:

2019-11-20  Janne Blomqvist  <jb@gcc.gnu.org>

        * configure.ac: Use https for gcc.gnu.org.
        * configure: Regenerated.

gcc/ChangeLog:

2019-11-20  Janne Blomqvist  <jb@gcc.gnu.org>

        * configure.ac: Use https for gcc.gnu.org.
        * configure: Regenerated.
        * doc/install.texi: Use https for gcc.gnu.org.
        * doc/sourcebuild.texi: Likewise.

gcc/testsuite/ChangeLog:

2019-11-20  Janne Blomqvist  <jb@gcc.gnu.org>

        * README: Use https for gcc.gnu.org.

libstdc++-v3/ChangeLog:

2019-11-20  Janne Blomqvist  <jb@gcc.gnu.org>

        * doc/html/api.html: Use https for gcc.gnu.org.
        * doc/xml/api.xml: Likewise.

maintainer-scripts/ChangeLog:

2019-11-20  Janne Blomqvist  <jb@gcc.gnu.org>

        * gcc_release: Use https for gcc.gnu.org.

From-SVN: r278526
2019-11-20 22:24:48 +02:00
Richard Biener
456ccd3284 update_version_svn (IGNORE_BRANCHES): Add 7.
2019-11-14  Richard Biener  <rguenther@suse.de>

	* update_version_svn (IGNORE_BRANCHES): Add 7.

From-SVN: r278199
2019-11-14 07:41:56 +00:00
Richard Biener
d50dbea102 crontab: Disable snapshots from gcc-7-branch.
2019-10-05  Richard Biener  <rguenther@suse.de>

        * crontab: Disable snapshots from gcc-7-branch.

From-SVN: r277815
2019-11-05 07:58:51 +00:00
David Malcolm
e6a7284cf9 update_web_docs_svn: Proceed even if the invocation of sphinx fails.
* update_web_docs_svn: Proceed even if the invocation of
	sphinx fails.

From-SVN: r274099
2019-08-04 22:31:54 +00:00
Gerald Pfeifer
34d9c2c269 crontab: Snapshots from trunk are now GCC 10 related.
* crontab: Snapshots from trunk are now GCC 10 related.
	Add GCC 9 snapshots from the respective branch.

From-SVN: r270871
2019-05-04 13:28:49 +00:00
Jonathan Wakely
4746651327 Improve error message for bad arguments to script
* generate_libstdcxx_web_docs: Improve error output.

From-SVN: r269169
2019-02-23 21:19:04 +00:00
Martin Liska
9479946c1f Add new maintainer script for PRs that can be closed.
2018-11-22  Martin Liska  <mliska@suse.cz>

	* bugzilla-close-candidate.py: New file.

From-SVN: r266377
2018-11-22 14:05:54 +00:00
Jakub Jelinek
6d2027241f update_version_svn (IGNORE_BRANCHES): Add gcc-6-branch.
* update_version_svn (IGNORE_BRANCHES): Add gcc-6-branch.
	* crontab: Remove gcc-6-branch entry.

From-SVN: r265527
2018-10-26 12:29:15 +02:00
Jakub Jelinek
9038a1de78 gcc_release (error, inform): Use $@ instead of $1.
* gcc_release (error, inform): Use $@ instead of $1.
	(build_sources): Check for ^[[:blank:]]*GCC in both index.html
	and changes.html, rather than for GCC in one and ^GCC in another one.

From-SVN: r265526
2018-10-26 12:26:17 +02:00
Jakub Jelinek
31aac34486 re PR other/85622 (gcc-8.1.0/NEWS says it's not released yet)
PR other/85622
	* gcc_release: For -f, verify contrib/gennews has the major version
	pages listed and both index.html and changes.html have been updated
	for the new release.

From-SVN: r259881
2018-05-03 11:29:39 +02:00
Jakub Jelinek
49b7ffb711 * crontab: Enable snapshots from gcc-8-branch.
From-SVN: r259637
2018-04-25 09:46:31 +02:00
Richard Biener
8819c9199a gcc_release (build_sources): Use getconf to get at the number of cores in the system and pass -jN to gcc_build.
2018-01-25  Richard Biener  <rguenther@suse.de>

	* gcc_release (build_sources): Use getconf to get at the number
	of cores in the system and pass -jN to gcc_build.

From-SVN: r257045
2018-01-25 10:22:38 +00:00
Jakub Jelinek
c64c738636 update_version_svn: Ignore the GCC 5 branch.
* update_version_svn: Ignore the GCC 5 branch.
	* crontab: Remove entry for the GCC 5 branch.

From-SVN: r253583
2017-10-10 15:10:28 +02:00
Matthias Klose
4b3e231475 gcc_release (XZ): Default to xz --best.
2017-05-23  Matthias Klose  <doko@ubuntu.com>

        * gcc_release (XZ): Default to xz --best.

From-SVN: r248392
2017-05-23 23:14:10 +00:00
Matthias Klose
d300615539 gcc_release (build_gzip): Build xz tarball instead of bz2 tarball.
2017-05-18  Matthias Klose  <doko@ubuntu.com>

        * gcc_release (build_gzip): Build xz tarball instead of bz2 tarball.
        (build_diffs): Handle building diffs from either bz2 or xz tarballs,
        compress diffs using xz instead of bz2.
        (build_diff): Likewise.
        (upload_files): Check for *.xz files instead of *.bz2 files.
        (announce_snapshot): Announce xz tarball instead of bz2 tarball.
        (XZ): New definition.
        (<toplevel>): Look for both bz2 and xz compressed old tarballs.

From-SVN: r248251
2017-05-18 18:49:16 +00:00
Jakub Jelinek
a05dd05f29 * crontab: Enable snapshots from gcc-7-branch.
From-SVN: r247020
2017-04-20 12:51:33 +02:00
Gerald Pfeifer
252e3e7b4a * gcc_release (snapshot_print): Replace md5 checksum by sha256.
From-SVN: r245875
2017-03-03 14:12:04 +00:00
Gerald Pfeifer
b54f986e4d update_web_docs_svn: Remove a reference to GCC 3.1.
* update_web_docs_svn: Remove a reference to GCC 3.1.  Describe   
	settings to tweak if running on a host different from gcc.gnu.org.
	(WWWBASE): Allow override via the environment.  Also check for
	existance.

From-SVN: r245774
2017-02-28 13:17:52 +00:00
Gerald Pfeifer
8027776f21 * update_web_docs_svn (MANUALS): Add libitm.
From-SVN: r245260
2017-02-07 23:25:19 +00:00
Gerald Pfeifer
aa9cdb9755 re PR web/50642 (onlinedocs formated text too small to read)
PR documentation/50642 
	* update_web_docs_svn (CSS): Introduce.
	Have generated files refer to it.

From-SVN: r239981
2016-09-04 19:38:05 +00:00
Gerald Pfeifer
b8c0f3c164 update_web_docs_svn (CSS): Introduce.
* update_web_docs_svn (CSS): Introduce.
	Have generated files refer to it.

From-SVN: r239980
2016-09-04 18:44:30 +00:00
Martin Liska
21da526107 Document branch_changer.py script
* branch_changer.py: Describe the script. Add sample usage
	of the script.

From-SVN: r239526
2016-08-17 10:30:37 +00:00
Martin Liska
54b367dbd2 Set +x for two python scripts.
From-SVN: r239303
2016-08-09 20:42:58 +00:00
Martin Liska
1a3c85fe05 Add branch_changer.py script to maintainer-scripts
* branch_changer.py: New file.

From-SVN: r239066
2016-08-03 12:43:11 +00:00
Richard Biener
c4f820552a update_version_svn: Ignore the GCC 4.9 branch.
2016-07-26  Richard Biener  <rguenther@suse.de>

	* update_version_svn: Ignore the GCC 4.9 branch.

From-SVN: r238753
2016-07-26 12:30:18 +00:00