Opened 3 years ago
Last modified 3 years ago
#17025 new bug
package_repo silently creates invalid repo files
Reported by: | kallisti5 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Command Line Tools | Version: | R1/beta2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
If you provide a repository info formatted like either of these:
name Haiku vendor "Haiku Project" summary "The Haiku repository (for Haiku r1~beta3_hrev55185)" priority 1 url tag:haiku-os.org,2001:repositories/haiku/master/x86_64 architecture x86_64
name Haiku vendor "Haiku Project" summary "The Haiku repository (for Haiku r1~beta3_hrev55185)" priority 1 identifier tag:haiku-os.org,2001:repositories/haiku/master/x86_64 architecture x86_64
package_repo will silently create a repository file which looks valid, but throws a "Error: Unable to unarchive repository info!" error when consumed.
This is the only way to make a "valid" repo file:
name Haiku vendor "Haiku Project" summary "The Haiku repository (for Haiku r1~beta3_hrev55185)" priority 1 baseurl https://blah.com/blah/blah identifier tag:haiku-os.org,2001:repositories/haiku/master/x86_64 architecture x86_64
Change History (1)
comment:1 by , 3 years ago
Component: | - General → Applications/Command Line Tools |
---|
Note:
See TracTickets
for help on using tickets.