Bug 254760 - net/gitup default configuration options for ports
Summary: net/gitup default configuration options for ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Nuno Teixeira
URL: https://wiki.freebsd.org/git
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-04 10:39 UTC by Graham Perrin
Modified: 2021-04-06 08:00 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (eduardo)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2021-04-04 10:39:43 UTC
From /usr/local/etc/gitup.conf with 0.90_1: 

----

        "ports" : {
                "host"       : "github.com",
                "repository" : "/freebsd/freebsd-ports.git",
                "branch"     : "master",
                "target"     : "/usr/ports",
                "ignores"    : [
                        "distfiles",
                        "packages",
                ],
        },

        "quarterly" : {
                "host"       : "github.com",
                "repository" : "/freebsd/freebsd-ports.git",
                "branch"     : "quarterly",
                "target"     : "/usr/ports",
                "ignores"    : [
                        "distfiles",
                        "packages",
                ]
        },


----

Re: <https://wiki.freebsd.org/git> this can change when <https://cgit.freebsd.org/ports/> goes live. 

Something like: 

----

        "ports" : {
                "repository" : "/ports.git",
                "branch"     : "main",
                "target"     : "/usr/ports",
                "ignores"    : [
                        "distfiles",
                        "packages",
                ],
        },

        "quarterly" : {
                "repository" : "/ports.git",
                "branch"     : "2021Q1",
                "target"     : "/usr/ports",
                "ignores"    : [
                        "distfiles",
                        "packages",
                ]
        },

----

… I don't know about the ignores.

Thanks
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2021-04-05 01:54:23 UTC
gitup.conf will be updated to reflect svn to git conversion when done and of course it can be manual changed to point to freebsd ports git server, at this momment it points to github ro mirror.

Thanks
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2021-04-05 04:16:05 UTC
>> when <https://cgit.freebsd.org/ports/> goes live. 

> when done 

+1

Thanks
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2021-04-06 07:43:23 UTC
<https://github.com/johnmehr/gitup/commit/0f52d593cfab2e7ef16439018232b37e8f6aa311#diff-39bd767a59a3138594332fbe99b51c0e531831ee92817e389b3435e1dd1474f9R17>

– prepared, although <https://git.freebsd.org/ports.git> is still 404 (whilst I don't know the details of the transition, I shouldn't expect the URL to work until everything turns green under <https://wiki.freebsd.org/git#Ports_Schedule>.
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2021-04-06 08:00:29 UTC
Transition almost done and gitup will be updated to reflect this changes in next release.

Thanks,

Nuno Teixeira