Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#8121 closed task (fixed)

Gitolite Migration

Reported by: hvr Owned by: hvr
Priority: normal Milestone:
Component: Trac & Git Version:
Keywords: admin git Cc: thoughtpolice
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

This ticket is for keeping track of the implementation of the Gitolite Migration Plan

See also the posting Proposal: Gitolite for repository management to ghc-devs@…

Change History (18)

comment:1 Changed 4 years ago by Herbert Valerio Riedel <hvr@…>

In a22e908a460ab20da006c74be4ca3fc068d461f0/ghc:

Normalize urls for Git submodules

This changes the `/libraries/<name>.git/` suffix in the urls
to `/packages/<name>.git`. This is a minor preparation step
helping the Gitolite transition (see #8121).

See also http://permalink.gmane.org/gmane.comp.lang.haskell.ghc.devel/1713

comment:2 Changed 4 years ago by hvr@…

commit 4f43572224b3c8723dc1bf0e886313b0e9c92049

Author: Herbert Valerio Riedel <hvr@gnu.org>
Date:   Fri Aug 9 13:03:54 2013 +0200

    Make `sync-all remote set-url` use normalized `/packages/` urls
    
    A simple heuristic (i.e. replacing the `libraries/` suffix by
    `packages/` in the inferred remotepath, if the remotepath in the
    `packages` file is "-") used to infer the remotepath for Git
    submodules. A proper solution would require to parse the `.gitmodules`
    file to obtain the actual localpath<->remotepath mapping.
    
    This addresses #8121 and is a follow-up to a22e908 which changed the
    `.gitmodules` urls to use the `/packages/` folder instead of
    `/libraries/`.

 sync-all |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

comment:3 Changed 4 years ago by Herbert Valerio Riedel <hvr@…>

In 4f43572224b3c8723dc1bf0e886313b0e9c92049/ghc:

Make `sync-all remote set-url` use normalized `/packages/` urls

A simple heuristic (i.e. replacing the `libraries/` suffix by
`packages/` in the inferred remotepath, if the remotepath in the
`packages` file is "-") used to infer the remotepath for Git
submodules. A proper solution would require to parse the `.gitmodules`
file to obtain the actual localpath<->remotepath mapping.

This addresses #8121 and is a follow-up to a22e908 which changed the
`.gitmodules` urls to use the `/packages/` folder instead of
`/libraries/`.

comment:4 Changed 4 years ago by Austin Seipp <aseipp@…>

In b264f09e8eb4df6b83e4a787e5a8cfa926e718d8/ghc:

Whitespace change to test Trac/Gitolite.

This references #8121

Signed-off-by: Austin Seipp <aseipp@pobox.com>

comment:5 Changed 4 years ago by Herbert Valerio Riedel <hvr@…>

In c08bf882d1763f740517557c03c0969df97e645d/ghc:

Fix typo

(this refs #8121 for testing purposes)

comment:6 Changed 4 years ago by hvr

For the record: the 1st phase has been successfully completed;

see also posting NOTICE: Gitolite migration is complete..

comment:7 Changed 4 years ago by Herbert Valerio Riedel <hvr@…>

In 4eeccc1ce80df7cc96bf72a5cd8a2397b03e2b35/ghc:

Replace occurences of darcs.haskell.org by git.haskell.org

...as the new `git.haskell.org` CNAME has been activated
(see also GitolitePlan and #8121 for more details)

comment:8 Changed 4 years ago by hvr

code 301 redirects have been put in place for the legacy Git repo locations at http://darcs.haskell.org/ pointing to http://git.haskell.org/.

This way, even Git operations on http://darcs.haskell.org benefit from the smart HTTP transfer as Git follows HTTP redirects.

comment:9 Changed 4 years ago by hvr

The (obsolete) repositories packages/{mtl,extensible-extensions,utf8-string,cabal-1.14} have been migrated now as well. This should help checkout older releases up to GHC 7.4.

comment:10 Changed 4 years ago by hvr

Milestone: 7.8.1

comment:11 Changed 4 years ago by Herbert Valerio Riedel <hvr@…>

In 1effad835bc58e2e87b83e74cf87636ee3220d15/ghc:

Add check for obsolete `darcs.haskell.org` repo urls

If the check detects an obsolete URL, show a warning and tell the user how
to invoke `sync-all` in order to update the local Git repo to point to the new
repository URLs.

This is related to #8121

comment:12 Changed 4 years ago by hvr

Keywords: admin git added

comment:13 Changed 4 years ago by Herbert Valerio Riedel <hvr@…>

In ed3c59a4f97feeb7f571ba62d43a1e14cc46f871/ghc:

Update Git repo URL in `bin-packages-db.cabal`

This is related to #8121

comment:14 Changed 4 years ago by Herbert Valerio Riedel <hvr@…>

In fb739a10de0ddf1d90efcbe9f0de1e7ed41a5c9e/base:

Update Git repo URL in `base.cabal`

This is related to #8121

comment:15 Changed 4 years ago by hvr

The Github mirrors at https://github.com/ghc have been updated to point to http://git.haskell.org at last.

comment:16 Changed 4 years ago by hvr

Component: NoneTrac & Git

comment:17 Changed 4 years ago by thoughtpolice

Resolution: fixed
Status: newclosed

Done.

comment:18 Changed 4 years ago by thoughtpolice

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.