-
Notifications
You must be signed in to change notification settings - Fork 1
Add git-to-freshports script #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Event: EuroBSDCon 2019 Hackathon Sponsored by: Intel Corporation
Thank you for your work on this. I hope to test it soon. |
This worked on my laptop. Thank you. |
Great news, thanks for letting me know. If you find any bugs please notify
me, I'll try to fix it.
Sergey
…On Fri, Sep 20, 2019, 17:42 Dan Langille ***@***.***> wrote:
This worked on my laptop. Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ACOSHKOUHWR6LOFAZBJAKZLQKTVPNA5CNFSM4IYWBLO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7HDF3Y#issuecomment-533607151>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACOSHKKJ7YRXWJKUUTIFAETQKTVPNANCNFSM4IYWBLOQ>
.
|
I started working on processing the XML. Please include the hash into the XML. I know it is in the filename, but we should also put it into the XML. I would also like repo name in there. Just hardcode it to ports for now please. EDIT: after working on the code more: It looks like we should add a COMMIT clause, where we once had MESSAGE:
Let's put it between PEOPLE and FILES. |
We have the first commit loaded into the database. Further processing is required, but I managed to get this hacking done on the train from Lillehammer to Oslo airport.
|
@dlangille you shouldn't have to say put "this element" between "that and that"; XML is agnostic to that as the proper parsers won't care. On the contrary: it typically isn't possible to define how the elements/tags are output. :-) |
Agreed. The placement is for humans reading it when debugging. We are writing a file. We can control the placement. |
It's already there, in the OS section. It defaults to 'ports', but you can change is by using cmdline flags to the script. In the next pull request it's also used in the COMMIT tag #2
Done in the next pull request #2 I wasn't sure what EncodingLosses have to be, so just hard-coded it for now. |
The parser I'm using preserves order, although it's not strictly enforced by the XML standard. I believe most of parsers/emitters preserve order because it's important in HTML. |
Event: EuroBSDCon 2019 Hackathon
Sponsored by: Intel Corporation