Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2020 21:50:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246883] PKG REVISIONS limited with two characters not number
Message-ID:  <bug-246883-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246883

            Bug ID: 246883
           Summary: PKG REVISIONS limited with two characters not number
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: please@forget.me.uk

I am producing packages in the format:
${PORTNAME}-${PORTVERSION}[_${PORTREVISION}][,${PORTEPOCH}]. 

When PORTREVISION is 99+ pkg manager does not respect packages. Maximum
revision 99. 

'pkg upgrade' thinks it is 99 is the latest package revision in the repository
even repository has a definition of higher numbers of 99. 

It might be in this part of the code:
https://github.com/freebsd/pkg/blob/16207928cbdbd8e950071e6067f8bc5a0a621856/libpkg/pkg_version.c#L72 

Documentation does not state 99 limits:
PORTREVISION is a monotonically increasing value which is reset to 0 with every
increase of DISTVERSION, typically every time there is a new official vendor
release. If PORTREVISION is non-zero, the value is appended to the package
name. [...]
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#5.2.3.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246883-227>