Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#13786 closed bug (fixed)

[Repositories] ignores repos not starting with http://

Reported by: diver Owned by: perelandra
Priority: normal Milestone: R1/beta2
Component: Preferences/Repositories Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

I've overwrote haikuporter repo with buildmaster to my x86_gcc2 Haiku running hrev51555

pkgman add eu.hpkg.haiku-os.org/haikuports/master/repository/x86_gcc2/current

For some reason Repositories doesn't list buildmaster repo at all.

Attachments (1)

Repositories.png (112.8 KB ) - added by diver 7 years ago.

Download all attachments as: .zip

Change History (8)

by diver, 7 years ago

Attachment: Repositories.png added

comment:1 by diver, 7 years ago

Description: modified (diff)

comment:2 by diver, 7 years ago

Description: modified (diff)

comment:3 by diver, 7 years ago

Turned out it was due to not "http://" not being there. Overwriting it once again with

pkgman add http://eu.hpkg.haiku-os.org/haikuports/master/repository/x86_gcc2/current

fixed it. Still a bug of course.

comment:4 by diver, 7 years ago

Description: modified (diff)
Summary: [Repositories] shows wrong repo as enabled[Repositories] ignores repos not starting with http://

comment:5 by perelandra, 7 years ago

Yes this is an invalid URL so gets rejected here: https://github.com/haiku/haiku/blob/master/src/preferences/repositories/RepositoriesView.cpp#L640

Seems like pkgman should enforce valid URLs, somewhere before or within this call: https://github.com/haiku/haiku/blob/master/src/bin/pkgman/command_add_repo.cpp#L90

comment:6 by diver, 6 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev52848.

comment:7 by nielx, 5 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.