Commit Graph

275 Commits

Author SHA1 Message Date
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
Richard Biener
7055b2bbf1 crontab: Remove entry for the GCC 4.9 branch.
2016-07-26  Richard Biener  <rguenther@suse.de>

	* crontab: Remove entry for the GCC 4.9 branch.

From-SVN: r238752
2016-07-26 12:27:16 +00:00
Jonathan Wakely
4eb27c4174 generate_libstdcxx_web_docs: Use realpath to get absolute path.
* generate_libstdcxx_web_docs: Use realpath to get absolute path.

	Add comment about LaTeX errors.

From-SVN: r237357
2016-06-13 08:47:13 +01:00
Jakub Jelinek
26ad7ec736 * crontab: Enable snapshots from gcc-6-branch.
From-SVN: r235039
2016-04-15 17:33:15 +02:00
Richard Biener
f9180d0e87 update_version_svn: Add gcc-4_8-branch to IGNORE_BRANCHES.
2015-06-23  Richard Biener  <rguenther@suse.de>

	* update_version_svn: Add gcc-4_8-branch to IGNORE_BRANCHES.

From-SVN: r224771
2015-06-23 07:48:06 +00:00
Richard Biener
c61e2d3673 crontab: Disable snapshots from the 4.8 branch.
2015-06-14  Richard Biener  <rguenther@suse.de>

	* crontab: Disable snapshots from the 4.8 branch.

From-SVN: r224466
2015-06-14 10:21:05 +00:00
Jakub Jelinek
54a3a62004 update_version_svn: Update DATESTAMP also on branches/gcc-[0-9]+-branch.
* update_version_svn: Update DATESTAMP also on
	branches/gcc-[0-9]+-branch.

From-SVN: r222044
2015-04-13 11:07:11 +02:00
Jakub Jelinek
49bd12939f gcc_release: Fix up thinko in the last commit, improve error message.
* gcc_release: Fix up thinko in the last commit, improve error
	message.  Commit all ChangeLog, DEV-PHASE and BASE-VER changes
	together, rather than doing dozens of separate commits.

From-SVN: r222042
2015-04-13 10:44:56 +02:00
Jakub Jelinek
e183a9d567 gcc_release: For RELEASE_MAJOR 5+ only use the major number in branch name.
* gcc_release: For RELEASE_MAJOR 5+ only use the major
	number in branch name.  When doing final release of 5+,
	if BASE-VER doesn't match release, but is *.*.1 for the
	one smaller minor version, bump BASE-VER.

From-SVN: r222031
2015-04-12 22:49:37 +02:00
Jakub Jelinek
e3257b5644 * crontab: Enable snapshots from gcc-5-branch.
From-SVN: r222028
2015-04-12 22:10:32 +02:00