FS#67359 - [asp] remotes of existing ASPROOT are not automatically set to GitHub

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Wednesday, 22 July 2020, 11:17 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 22 July 2020, 15:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
asp 5-3 changed the git repos to GitHub, but that doesn't affect existing asp setups.

$ git -C ~/.cache/asp remote -v
community https://git.archlinux.org/svntogit/community.git (fetch)
community https://git.archlinux.org/svntogit/community.git (push)
packages https://git.archlinux.org/svntogit/packages.git (fetch)
packages https://git.archlinux.org/svntogit/packages.git (push)

This requires each user to fix it manually. Ideally they should be changed automatically when running asp update.

P.S. After changing the remotes, there are some warnings:
warning: redirecting to https://github.com/archlinux/svntogit-packages.git/
From https:///github.com/archlinux/svntogit-packages
warning: redirecting to https://github.com/archlinux/svntogit-community.git/
From https:///github.com/archlinux/svntogit-community


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any
asp 5-3


Steps to reproduce:
git -C ~/.cache/asp remote -v
This task depends upon

Closed by  Dave Reisner (falconindy)
Wednesday, 22 July 2020, 15:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  extra/asp-6
Comment by Dave Reisner (falconindy) - Wednesday, 22 July 2020, 15:18 GMT
> P.S. After changing the remotes, there are some warnings:

No idea how to reproduce this. I changed my remotes and I see no such warnings.
Comment by Dave Reisner (falconindy) - Wednesday, 22 July 2020, 15:25 GMT
asp v6 now migrates existing repos.
Comment by nl6720 (nl6720) - Wednesday, 22 July 2020, 15:26 GMT
Forget the warnings, that was my own stupidity. I made typos in the URLs (triple slashes instead of double slashes).

Loading...