public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Mark Wielaard <mark@klomp.org>
Cc: Joel Brobecker <brobecker@adacore.com>,
	Pedro Alves <pedro@palves.net>,
	Overseers mailing list <overseers@sourceware.org>,
	simon.marchi@polymtl.ca, eliz@gnu.org,
	Mike Frysinger <vapier@gentoo.org>
Subject: Re: setting up sim project web space
Date: Thu, 25 Nov 2021 06:00:47 +0400	[thread overview]
Message-ID: <YZ7uT7e6Tfqr2izX@adacore.com> (raw)
In-Reply-To: <ca4fd206bd854a3613bd54a7af4c4ad6534534b2.camel@klomp.org>

Hi Mark,

> > The GDB website is under CVS, and there are two copies.
> > 
> >   - One is hosted on GNU Savannah
> >       https://savannah.gnu.org/projects/gdb
> >     This is the source of the website that's published on gnu.org:
> >       https://www.gnu.org/software/gdb/
> 
> For savannah you are unfortunately stuck with CVS for webpages. But you
> can just install a redirect to https://sourceware.org/gdb/ so you don't
> need to keep mirroring it in two places.

Sounds like an interesting idea.

One of the things I'm concerned about is perhaps people having
bookmarks of old pages. Or perhaps have every one of the current
pages be a redirect to the corresponding page?

Something like this?

<!DOCTYPE html>
<html>
   <head>
      <title>Redirecting to </title>
      <meta http-equiv = "refresh" content = "3; url = https://https://www.sourceware.org/gdb/" />
   </head>
   <body>
      <p>Redirecting to sourceware.org</p>
   </body>
</html>

> >   - One is hosted on sourceware.org
> >       CVS/Root: sourceware.org:/cvs/gdb
> >       CVS/Repository: htdocs
> > 
> >     This repository is the source of the copy on sourceware.org:
> >       https://www.sourceware.org/gdb/
> > 
> > I don't know why we have two copies of the website, unfortunately.
> > 
> > It would be nice if we could transition the sources to Git.
> > I haven't done it, because I don't know how the automatic-update-after-push
> > is set up, so I'm concerned about breaking the website update if I do.
> 
> Sadly my knowledge of CVS is fairly minimal at this point, so I don't
> really understand fully how it is setup now. But I can see that it
> involves getting a checkout under
> /sourceware/www/sourceware/htdocs/gdb/
> I can convert the CVS repo to git and then setup the git hooks to do
> the same.

Combined with the redirect, I think this would be great.

> That does leave the question of who should be in the gdb group (and is
> allowed to push) and how the onlinedocs are updated, those under:
> https://sourceware.org/gdb/current/onlinedocs/
> Which seems to be done by some script and you need to be in the
> "shared" group to be able to put files there.

For the onlinedocs part, it's user "gdbadmin" who does those updates.
It does so nightly via crontab.

For the permissions to push to the new htdocs, I can ask the question
to the GDB Global Maintainers. Perhaps they'll agree that anyone allowed
to push to GDB can also push to GDB's htdocs, particularly if we set the
git-hooks up so as to have commit emails sent to gdb-cvs.


> > Meanwhile, because I've pretty much been the only editor of those
> > sources, I've been able to get away with my own Git repository and
> > the use of "git cvsexportcommit" to push patches.
> > 
> > If people send me patches, I'm happy to push them.
> 
> Does that include the sim manuals that started this thread?

Sure.

> It seems better to get things moved to git and make it possible for
> others to also update the gdb webpages. Let me know if I can help with
> that and who should be involved to make sure we update all automated
> scripts.

Agreed.

-- 
Joel

  parent reply	other threads:[~2021-11-25  2:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10  4:17 Mike Frysinger
2021-09-10 12:06 ` Frank Ch. Eigler
2021-11-18  0:50   ` Mike Frysinger
2021-11-18  0:56     ` Frank Ch. Eigler
2021-11-18  1:38       ` Mike Frysinger
2021-11-18 15:03         ` Mark Wielaard
2021-11-19  8:31           ` Mike Frysinger
2021-11-19  8:42             ` Mike Frysinger
2021-11-19 10:08               ` Mark Wielaard
2021-11-19 11:15                 ` Mike Frysinger
2021-11-19 15:49                   ` Pedro Alves
2021-11-21 13:59                     ` Joel Brobecker
2021-11-24 10:02                       ` Mark Wielaard
2021-11-24 11:16                         ` Mike Frysinger
2022-10-24 16:19                           ` Mike Frysinger
2022-10-24 23:47                             ` Frank Ch. Eigler
2022-12-30 16:44                               ` Mark Wielaard
2023-01-04  8:18                                 ` Mike Frysinger
2023-01-05 22:38                                   ` Mark Wielaard
2023-01-05 22:43                                     ` Mark Wielaard
2023-01-06  6:22                                       ` Joel Brobecker
2023-01-10 18:27                                         ` Frank Ch. Eigler
2023-01-10 20:18                                           ` Mark Wielaard
2023-01-11  5:36                                             ` Joel Brobecker
2023-01-11 23:56                                               ` Mark Wielaard
2023-01-12  5:12                                                 ` broken current onlinedocs Mike Frysinger
2023-01-12  7:30                                                   ` Mark Wielaard
2023-01-16  3:42                                                   ` Joel Brobecker
2023-01-15 22:00                                               ` setting up sim project web space Mike Frysinger
2023-01-16  3:17                                                 ` Joel Brobecker
2021-11-25  2:00                         ` Joel Brobecker [this message]
2021-11-28 21:22                           ` Mark Wielaard
2021-12-05 10:51                             ` Joel Brobecker
2021-12-22  7:08                               ` Mike Frysinger
2021-12-24  3:01                                 ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YZ7uT7e6Tfqr2izX@adacore.com \
    --to=brobecker@adacore.com \
    --cc=eliz@gnu.org \
    --cc=mark@klomp.org \
    --cc=overseers@sourceware.org \
    --cc=pedro@palves.net \
    --cc=simon.marchi@polymtl.ca \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).