Skip to content

net/gitup: failure during ports update #108

@nunotexbsd

Description

@nunotexbsd

Hello,

Got reports from gitup users that says that gitup stop working sudently.
Did a quick test at main-n285470-ba7f47d47dc1 with same results.

Looking for clues about what might be the cause.

FreeBSD Ports PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295067

Thanks

"gitup ports" yields this error:

# Scanning local repository...
# Host: git.freebsd.org
# Port: 443
# Repository Path: /ports.git
# Target Directory: /usr/ports
# Have: a7ad22ffe19cbddca9b8d94cb8baa3fd8b10fb0b
# Want: 298bede9dc94ff43a54a378540600b86991a2731
# Branch: main
gitup: process_command: read failure:

HTTP/1.1 200 OK
Server: nginx/1.28.3
Date: Wed, 06 May 2026 14:07:57 GMT
Content-Type: application/x-git-upload-pack-result
Transfer-Encoding: chunked
Connection: keep-alive
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, max-age=0, must-revalidate
0011shallow-info
0001000dpackfile
2004PACK
: Invalid argument

The "ports" section of my gitup.conf contains:

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions