Ticket #403 (closed enhancement: fixed)
Opened 5 years ago
Last modified 5 years ago
Add support for bazaar repos
| Reported by: | scottmc | Owned by: | jrabbit |
|---|---|---|---|
| Priority: | normal | Milestone: | haikuporter version 1.0 |
| Component: | haikuporter | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Now that bazaar is available on Haiku, support for bzr should be added to HaikuPorter.
Attachments
Change History
comment:1 Changed 5 years ago by scottmc
- Milestone set to haikuporter version 1.0
- Owner brecht deleted
comment:2 Changed 5 years ago by jrabbit
- Owner set to jrabbit
- Status changed from new to assigned
comment:3 Changed 5 years ago by scottmc
feel free to attach your what you have so far to this ticket. Melange is having issuess again it seems. I have added #450 as you suggested. It'll be a GCI task but I'm going to hold it for a day or two, releasing it after this one is completed, in case you'd like to work on it.
comment:4 Changed 5 years ago by jrabbit
The specific issue I was having is that I couldn't get the patch to apply in my Haiku VM. It was working with my mac via patch -p0 < bzr.patch but gets rejected on Haiku's (both haikuporter files share the same md5 so that shouldn't be an issue).
comment:5 Changed 5 years ago by scottmc
Strange. try patch -p0 -ui bzr.patch, that seems to have worked here for me.
Now check it by modifying the .bep for pychart and attach that new bep to this ticket.
comment:6 Changed 5 years ago by scottmc
I'm checking it now, but it looks like the task just expired, so just reclaim it, and submit your work when its ready. The only issue i spotted was the directory name in the bep needs to be updated, once that's done I think it'll work.
comment:7 Changed 5 years ago by jrabbit
I fixed that in my copy, did I upload it before saving that?
comment:8 Changed 5 years ago by jrabbit
Oh in the Install phase. Didn't catch that.
Changed 5 years ago by jrabbit
- attachment pychart-1.xx-bzr.bep added
comment:9 Changed 5 years ago by scottmc
with the --lightweight option I got an error here saying no such option, I then changed it from "bzr branch" to "bzr checkout" and then it was able to make use of the --lightweight option. Did the --lightweight work for you with branch? What version of bazaar do you have installed? Might it be that the one in Haiku is missing that for branch?
Also you can add your copyright line to the bottom of the copyright section of haikuporter with a "2010 yourname"
comment:10 Changed 5 years ago by scottmc
I just added the .bep file in r1218 with a change of the filename to 1.39-bzr instead of 1.xx-bzr as it seems they have the version in version.py set to that.
Using your patch with the "branch" changed to "checkout" in haikuporter this bep file is able to build a distro .zip package as expected. Just need to figure out what's up with the branch vs checkout and add the copyright and you're there.
I haven't checked to see if this patch will allow it to pull a specific revision but it seems the code it there to do it.
comment:11 Changed 5 years ago by jrabbit
Checkout and branch share the same commit options besides lightweight I think. I'll go in and add my name.
Changed 5 years ago by jrabbit
- attachment bzr.2.patch added
comment:12 Changed 5 years ago by scottmc
- Resolution set to fixed
- Status changed from assigned to closed
Applied in r1219. Thanks. If you spot any other open HaikuPorter tickets that you'll like to see as GCI tasks just let me know. (scottmc2@…)
There's already a few more on the current task list if you are interested.
comment:13 Changed 5 years ago by scottmc
You may have to resummit the link to Melange for it to allow me to close out the task.

in the course of working on testing my code I had some speed bumps that might make good GCI Tasks:
Also its a bit of a shock you use SVN for this project.