[haiku-development] Re: Jam help - Passed argument not getting used.
- From: "Alexander von Gluck IV" <kallisti5@xxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Mon, 15 Aug 2016 16:15:34 +0000
August 15 2016 5:14 AM, "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote:
Am 12.08.2016 um 06:07 schrieb Alexander von Gluck IV:
August 11 2016 10:32 PM, "Alexander von Gluck IV" <kallisti5@xxxxxxxxxxx>
wrote:
Good evening,
I'm working on some simplification to the hpkg repos and am running
into an issue getting jam to properly pass on a variable.
Anyone know what's going on here?
Wrong gist... sorry:
https://gist.github.com/kallisti5/1fd277bbe507728637e47217fd4a0836
It looks like RepositoryConfig does not pass on URL -- it obviously wasn't
being used before this
way?
Actually, it does seem to pass the URL through via "HAIKU_REPOSITORY_URL"
(although I can't
figure out why they did it like that)
The issue ended up being one of the var's in the URL weren't defined... so the
entire url ended up
not being set / defined.
All the jam issues are solved... I have one last dangling issue to fix, then
the work should be
complete.
* repo.info BRepoistoryInfo) no longer needs a url defined
(repos no longer need to know where they'll exist before being created)
PulkoMandy brought up telling mirrors apart from central sources, however
we likely could accomplish
the same by giving each repo a "id" of a uuid... that way the system could
be a bit smarter about
tracking mirrors of the same repo without making our repositories
*extremely* fragile about location.
Work in progress here:
https://github.com/kallisti5/haiku/commit/df88967bf048725cadf6afb5389490204915023b
I stubbed out the url field in the BRepositoryInfo for now to allow people to
upgrade without
giving them an "invalid repo" message.
Now is the time to clean this stuff up before we're locked into it post release
:-)
-- Alex
Other related posts: