Opened 9 years ago

Closed 9 years ago

#12216 closed task (fixed)

HaikuDepot; Ability to Force the HDS Server Base URL and Defaults for Repository Codes

Reported by: apl-haiku Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: Applications/HaikuDepot Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is a change so that HaikuDepot can be run with an additional argument in order to force the HDS server that it will talk to for that run. This is required because otherwise it is not possible to test HD with the test HDS server. This change is also handy for development of HDS locally; to help with this it will also cope with HTTP and HTTPS schemes.

Also, there are changes in the test HDS server at the moment that require a repository code to be provided. For the time being, I have hard-coded the repository code to "haikudepot" in the HD source.

Attachments (1)

0001-12216-haikudepot-desktop-app-can-now-have-server-url.patch (8.2 KB ) - added by apl-haiku 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by apl-haiku, 9 years ago

patch: 01

comment:2 by apl-haiku, 9 years ago

Owner: changed from apl-haiku to stippi
Status: newassigned

comment:3 by apl-haiku, 9 years ago

Hi Stephan; When you get a moment, can you please check this patch. I think this set of changes should allow the new version of HDS to go to production.

comment:4 by stippi, 9 years ago

Patch looks fine aside from two minor coding style issues. Thanks for your work! I have some work in progress stuff in my Haiku tree and I am not so good with git, or I don't have the time right now to google how to use the scratch area or what it is called in git. So if someone has the time to commit this patch, I would be very thankful!

comment:5 by bonefish, 9 years ago

git stash to stash away uncommitted changes. git stash pop to bring them back. Works like a stack. git stash list to list all stashed changes.

comment:6 by stippi, 9 years ago

Thanks for the reminder on "git stash"! Maybe I have some time tonight to commit the patch.

comment:7 by kallisti5, 9 years ago

Compile tested on x86_64. I adjusted the commit description to better match our style guidelines

Pushed in hrev49418.

comment:8 by kallisti5, 9 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.