New upstream version 1.5.0+ds1

This commit is contained in:
Roland Mas
2023-01-02 14:19:29 +01:00
parent 29e4ea6ec0
commit 5c4f97f88e
324 changed files with 15360 additions and 6668 deletions
+7 -2
View File
@@ -52,10 +52,10 @@ const (
PackageTypeInstaller = "installer"
)
// Special arhictectures
// Special architectures
const (
ArchitectureAll = "all"
ArhictectureAny = "any"
ArchitectureAny = "any"
ArchitectureSource = "source"
)
@@ -361,6 +361,11 @@ func (p *Package) GetName() string {
return p.Name
}
// GetFullName returns the package full name
func (p *Package) GetFullName() string {
return strings.Join([]string{p.Name, p.Version, p.Architecture}, "_")
}
// GetVersion returns package version
func (p *Package) GetVersion() string {
return p.Version