tools.git
17 months agomake_www_release: Omit per-distro repodata directories 22/11122/2 master
Stephan Wiesand [Mon, 5 May 2014 14:12:41 +0000]
make_www_release: Omit per-distro repodata directories

We already do this at the top level, but these are useless (and
outdated quickly) in the individual distributions' pages too.

Change-Id: I434f6690cae52c6f5a3e140465f908df52dfdda6
Reviewed-on: https://gerrit.openafs.org/11122
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>

6 years agogerrit-not-reviewed: Print number of reviews
Andrew Deason [Wed, 21 Aug 2013 20:27:31 +0000]
gerrit-not-reviewed: Print number of reviews

Print out the number of reviews for each change we print, to allow you
to easily see which changes need reviewers. Also separate fields by
tabs, for easier processing of separate columns.

Change-Id: If307a4d2570dfbfc514f0f8ef087564cdbaaa0f0
Reviewed-on: http://gerrit.openafs.org/10168
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: D Brashear <shadow@your-file-system.com>

6 years agomake_www_release: correct FreeBSD label
Stephan Wiesand [Sat, 25 Jan 2014 18:31:02 +0000]
make_www_release: correct FreeBSD label

see gerrit 10760: "Free BSD" is wrong

Change-Id: I5eaa5125b2d20c73e0196c731855fdcb41c25367
Reviewed-on: http://gerrit.openafs.org/10761
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Tested-by: Ken Dreyer <ktdreyer@ktdreyer.com>

6 years agomake_www_release: update devel release number
Ken Dreyer [Thu, 17 May 2012 17:47:15 +0000]
make_www_release: update devel release number

The 1.7 branch is a development branch, and all 1.7 git tags are of the
form "openafs-devel-1.7.x". The make_www_release script followed this
convention for 1.5, and now it needs to follow this convention for 1.7.

FIXES 130795

Change-Id: I6ff3747c23951952880c4c2a136744c3fe76d499
Reviewed-on: http://gerrit.openafs.org/10169
Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Tested-by: Ken Dreyer <ktdreyer@ktdreyer.com>

6 years agoAdd gerrit-not-reviewed
Andrew Deason [Wed, 14 Aug 2013 17:23:30 +0000]
Add gerrit-not-reviewed

Add the gerrit-not-reviewed script; a small tool to just help see what
gerrit changes you (or someone) hasn't reviewed yet.

Change-Id: I1c1e80931e69a9600b2a56e5fd1affc005755d72
Reviewed-on: http://gerrit.openafs.org/10134
Tested-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>

6 years agomake_www_release: ignore repodata in top level directory
Stephan Wiesand [Fri, 11 Oct 2013 16:53:40 +0000]
make_www_release: ignore repodata in top level directory

The openafs-release (former openafs-repo) RPMs expect repodata
for the SRPM in the top level release directory. Skip this dir
when generating the index page, as the files in there are only
useful for yum.

Change-Id: I700979ff7d91d069bd9c308618e603660e083ba6
Reviewed-on: http://gerrit.openafs.org/10336
Tested-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>

7 years agomake_www_release: provide an "All Files" link
Stephan Wiesand [Wed, 3 Jul 2013 09:04:18 +0000]
make_www_release: provide an "All Files" link

Add a link to the table of contents pointing to
/dl/openafs/<release>/, thus the raw directory content.

Change-Id: Ic7507d73b588dde14e770a7f31fd5189fd419c02
Reviewed-on: http://gerrit.openafs.org/10030
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

7 years agomake_www_release: Tweaks for FreeBSD tarballs; use r/w path
Stephan Wiesand [Mon, 4 Mar 2013 09:20:57 +0000]
make_www_release: Tweaks for FreeBSD tarballs; use r/w path

Emit headings and links for FreeBSD tarballs as for the other
Unix flavours, and handle .tbz like .tar.bz2.

Read files from tr/w path on grand.central.org, to allow creating
the web page before releasing volumes.

Change-Id: Ic562bb397288c0e44c124ebd93d40a973699091e
Reviewed-on: http://gerrit.openafs.org/9345
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: Derrick Brashear <shadow@your-file-system.com>

7 years agomake_www_release: Linux updates
Stephan Wiesand [Fri, 25 Jan 2013 09:44:59 +0000]
make_www_release: Linux updates

There are more RHEL release than just RHEL3, and arguably
SUSE is SUSE and no longer Novell. Put the appropriate headings
and links on the release page. And add OS X 10.6 to 10.8, too.

Change-Id: I741dc398736f8aa273746bcf168b2b9968499a47
Reviewed-on: http://gerrit.openafs.org/8979
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

9 years ago"Sun" becomes "Oracle Solaris"
Jeff Blaine [Tue, 7 Jun 2011 21:18:40 +0000]
"Sun" becomes "Oracle Solaris"

There's no real rhyme or reason to %TopTitles - some are full
product names like "RedHat Enterprise Linux" and some are
generic like "Novell".  I went with "Oracle Solaris" instead
of just "Oracle" as a replacement for "Sun".

9 years agoAdd support for gitweb links to the release pages
Russ Allbery [Sun, 6 Feb 2011 08:52:52 +0000]
Add support for gitweb links to the release pages

Patch by Ken Dreyer.

9 years agoUpdate to Derrick's current version of make_www_release
Russ Allbery [Sun, 6 Feb 2011 08:52:26 +0000]
Update to Derrick's current version of make_www_release

10 years agoUpdate how Gerrit is restarted
Russ Allbery [Thu, 11 Feb 2010 03:18:03 +0000]
Update how Gerrit is restarted

Stop Apache before restarting Gerrit, use the new Gerrit init script,
and then sleep for five seconds before starting Apache.  Hopefully this
will unconfuse Apache about the missing target for the proxy.

10 years agoUse the correct init script for Apache restarts via remctl
Russ Allbery [Mon, 16 Nov 2009 20:33:08 +0000]
Use the correct init script for Apache restarts via remctl

10 years agoAdd openafs-backend, a remctl backend for OpenAFS maintenance
Russ Allbery [Tue, 13 Oct 2009 02:08:20 +0000]
Add openafs-backend, a remctl backend for OpenAFS maintenance

10 years agoVarious fixes to export_htdocs
Russ Allbery [Tue, 13 Oct 2009 01:42:37 +0000]
Various fixes to export_htdocs

Silence the k5start invocations.  Handle the initial git clone by
cloning to a subdirectory and then moving the .git directory up.
Fix generation of the indices to do so with tokens, and likewise the
creation of the symlink for the index.html file.

11 years agoRemove code duplication and switch to git clone/pull
Russ Allbery [Fri, 17 Jul 2009 04:08:54 +0000]
Remove code duplication and switch to git clone/pull

Stop using git archive and instead git clone/pull into the AFS
directories.  Also clean up the code to not duplicate it between
the sandbox and production mode and comment a bit more.

11 years agoAdd support for production exports, remove local disk code
Russ Allbery [Fri, 17 Jul 2009 03:40:29 +0000]
Add support for production exports, remove local disk code

Now the default is to export to the sandbox without an argument or to
the production AFS directory with -p.  Removed the old code to handle
local disk releases and pivots since we're going to use AFS.

11 years agoFix the sort order of pre releases in relindex
Russ Allbery [Fri, 17 Jul 2009 03:14:25 +0000]
Fix the sort order of pre releases in relindex

11 years agoFix creation of index.html symlink for sandbox mode
Russ Allbery [Fri, 17 Jul 2009 03:14:15 +0000]
Fix creation of index.html symlink for sandbox mode

11 years agoAdd support for exporting the tree to sb.openafs.org
Russ Allbery [Fri, 17 Jul 2009 03:02:15 +0000]
Add support for exporting the tree to sb.openafs.org

export_htdocs -s now exports to the sb.openafs.org sandbox.  Add an
aklog-central wrapper around aklog that gets AFS tokens for the correct
cell, for use with k5start.

11 years agoAdd special processing for the export of the OpenAFS pages
Russ Allbery [Fri, 17 Jul 2009 00:45:08 +0000]
Add special processing for the export of the OpenAFS pages

Add the additional code for special processing of the OpenAFS web pages
to export_htdocs.  This is taken from /etc/update-htdocs.d/openafs on
grand.

11 years agoFirst pass at a Git-aware version of export_htdocs
Russ Allbery [Fri, 17 Jul 2009 00:11:43 +0000]
First pass at a Git-aware version of export_htdocs

Replace the CVS code with git archive piped through tar xf -.  Remove
the /usr/local/libexec modular part; at least right now, we're not
going to use it.  Change the expected paths to match the current
layout on openafs.stanford.edu.

17 years ago- export_htdocs support scripts are in /usr/local/libexec/export-htdocs
Jeffrey Hutzelman [Sun, 17 Aug 2003 02:46:40 +0000]
- export_htdocs support scripts are in /usr/local/libexec/export-htdocs

17 years ago- Added table of contents
Jeffrey Hutzelman [Thu, 8 May 2003 21:32:13 +0000]
- Added table of contents
- Cleaned up many section titles and links

18 years ago- Reinstated the code to make links for unrecognized files.
Jeffrey Hutzelman [Mon, 5 Aug 2002 02:53:42 +0000]
- Reinstated the code to make links for unrecognized files.
  This was needed so we could refer to SA's and deltas in the
  security tree.

18 years ago- Added support for unstable releases.
Jeffrey Hutzelman [Wed, 24 Apr 2002 21:54:21 +0000]
- Added support for unstable releases.
  An unstable release is anything whose second version component
  is odd, except 1.1.x

18 years ago- Updated windows platform descriptions (from shadow)
Jeffrey Hutzelman [Tue, 30 Oct 2001 23:50:06 +0000]
- Updated windows platform descriptions (from shadow)

18 years ago- Do frameless processing on .htm as well as .html
Jeffrey Hutzelman [Fri, 19 Oct 2001 15:40:36 +0000]
- Do frameless processing on .htm as well as .html

18 years ago- Added ability to handle versioned darwin directories
Jeffrey Hutzelman [Sun, 14 Oct 2001 02:41:18 +0000]
- Added ability to handle versioned darwin directories
- Added a link for Solaris 9
- Added support for prefixes (foo-) in list ordering and OTHER processing.
- Added RELNOTES- to the OTHER list, sorted just before the changelog.

19 years ago- MD5 checksums and PGP signatures don't count as "skipped" files
Jeffrey Hutzelman [Tue, 17 Jul 2001 23:18:28 +0000]
- MD5 checksums and PGP signatures don't count as "skipped" files
  for the purpose of deciding whether to display an all-files link

19 years ago- Fixed version string
Jeffrey Hutzelman [Tue, 17 Jul 2001 13:40:35 +0000]
- Fixed version string
- Don't include 'All Files' unless something isn't listed
- Do include a 'No Files' notation if a binary platform
  has no files

19 years ago- Updated to reflect the new frames model
Jeffrey Hutzelman [Thu, 12 Jul 2001 16:23:04 +0000]
- Updated to reflect the new frames model
- Added win9x

19 years ago- Generate new snapshot index format
Jeffrey Hutzelman [Thu, 12 Jul 2001 13:27:52 +0000]
- Generate new snapshot index format
- Index snapshot files with an optional module name extension
- Don't check for module dir in make_snapshot

19 years ago- Links to release pages should be targeted to the top window
Jeffrey Hutzelman [Thu, 12 Jul 2001 03:21:24 +0000]
- Links to release pages should be targeted to the top window

19 years ago- Fixed argument count check
Jeffrey Hutzelman [Wed, 11 Jul 2001 17:39:15 +0000]
- Fixed argument count check

19 years ago- Make relindex generate absolute paths
Jeffrey Hutzelman [Wed, 11 Jul 2001 17:35:47 +0000]
- Make relindex generate absolute paths

19 years ago- Fix path-fixing for frameset prefixes
Jeffrey Hutzelman [Wed, 11 Jul 2001 15:50:40 +0000]
- Fix path-fixing for frameset prefixes

19 years ago- Treat relative symlinks in content pages correctly
Jeffrey Hutzelman [Wed, 11 Jul 2001 14:44:25 +0000]
- Treat relative symlinks in content pages correctly

19 years ago- Redesigned the link-rewriting code to cleaner and more consistent.
Jeffrey Hutzelman [Wed, 11 Jul 2001 14:11:52 +0000]
- Redesigned the link-rewriting code to cleaner and more consistent.
- Added comments describing the purposes of most functions

19 years ago- Fixed a stupid bug
Jeffrey Hutzelman [Mon, 9 Jul 2001 16:16:29 +0000]
- Fixed a stupid bug

19 years ago- Don't ignore html files that are symlinks
Jeffrey Hutzelman [Mon, 9 Jul 2001 15:47:56 +0000]
- Don't ignore html files that are symlinks
- Don't make symlink aliases of non-matching files

19 years ago- Drop leading /frameset from links in the navbar
Jeffrey Hutzelman [Wed, 13 Jun 2001 02:40:54 +0000]
- Drop leading /frameset from links in the navbar

19 years ago- Minor changes to make_release
Jeffrey Hutzelman [Wed, 16 May 2001 00:32:00 +0000]
- Minor changes to make_release
- Added new platforms to make_www_release
- Added daily snapshot job

19 years ago- imported many make_www_release improvements from PENN
Jeffrey Hutzelman [Wed, 11 Apr 2001 02:44:17 +0000]
- imported many make_www_release improvements from PENN
- make releases include diffs from the previous release
- generate compressed files in bzip2 format as well as gzip

19 years ago- Added various utilities for /usr/local/sbin on grand.central.org
Jeffrey Hutzelman [Wed, 11 Apr 2001 01:43:36 +0000]
- Added various utilities for /usr/local/sbin on grand.central.org