-
Notifications
You must be signed in to change notification settings - Fork 19
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
Posts in the run up to OCaml 2014 #6
Comments
For the 0install post, it would be nice to show getting OPAM via 0install. Is it possible to get a DNS entry (e.g. tools.ocaml.org) for it? Then I could rename http://test.roscidus.com/opam.xml to http://tools.ocaml.org/opam.xml (and also update it to 1.2). |
@talex5 yes: where would you like the DNS entry pointed? Is static HTML sufficient? If so, it could also be served by opam.ocaml.org (and benefit from the HTTPS certificate that already exists for that subdomain). |
Anything with a static HTTP server will do (blobs, opam, etc). HTTPS isn't critical (everything's already gpg-signed), but does help slightly against replay attacks on first use. |
If you have Alternatively, you can also link to files from the root of the blog ( |
Is there a way for users to build/view locally (and catch warnings/errors) before a push? |
Here is what I do:
Yes, there could probably be a more friendly way. |
Note also that markdown doesn't really have a notion of error, so markdown errors may just lead to unwanted display. |
I've adjusted the dates of the posts to reflect how things currently stand. We need to reconcile some of the posts for next week (I still have a question about Test - Will raise by email). |
@avsm, @AltGr: for 0install, it might be better not to put binary archives under Git. Is there some plain server (like blobs.openmirage.org) we could make tools.ocaml.org point to? It is possible to keep the generated XML files on e.g. github but I prefer to keep only the unsigned source XML there (because you don't want to encourage people to try and edit the signed versions). I still usually use Git to sync the signed versions to the server, but I push directly and don't expose the repository anywhere else. |
I believe there's an ocaml.org-media repo (http://github.com/ocaml/ocaml.org-media) that we could use for this purpose. We could open up a private repository for signing keys, which could be useful for mainline downloads as well. On 26 Aug 2014, at 11:35, Thomas Leonard [email protected] wrote:
|
avsm: Looks like the main thing is to set up a CNAME entry: tools.ocaml.org -> CNAME ocamllabs.github.io (from https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider) Then I can create a repository using GitHub pages to publish the XML. Ideally, this should be private, because noone should see it except the repository daemon. Everyone else can interact with it through a separate Git repository with the unsigned source files. |
Why ocamllabs.github.io? I don't believe that ocaml.github.io is currently being used, so we could map it there. On 26 Aug 2014, at 16:24, Thomas Leonard [email protected] wrote:
|
Either is fine for me. ocamllabs just seemed the more private option. |
Is this a long-term thing or just for for the short term? If it's meant to be maintained, then the OCaml GitHub account makes sense, otherwise I'd opt for the OCaml Labs account. In addition, if the intent is to keep something private (or not have it publicly visible), then my preference is not to use the OCaml GitHub account. I think we should default to 'open' on that account wherever possible (apart from the handful of repos for admin/scripts etc — this may well be one of those but I don't know, hence the question). |
Here's how it works:
|
But there's no actual private information in the signed repository, is there? We could just restrict push rights to the signed repository from a single mechanical account (such as the bactrian bot) which runs 0repo. On 26 Aug 2014, at 17:07, Thomas Leonard [email protected] wrote:
|
@avsm: Yes, the only problem is confusion from having two almost identical repositories. |
Understood -- let's aim to keep everything public but explain the workflow through README files or similar. This way, other people can replicate things with minimal confusion. The only private bit would be setting up 0repo and the signing key VM. On 26 Aug 2014, at 17:15, Thomas Leonard [email protected] wrote:
|
OK. Let me know when the DNS entry is added and I'll create a project for the pages and push the OPAM XML there. |
I concur with @avsm — Clearly explaining things via (cross-referenced) README's as well as restricting push access and issues seems like a good approach (and would also help others understand how it works). Thanks for clarifying! |
Maybe it worth to close this issue? It's 6 years old already and now irrelevant. |
The series of Platform posts in the run up to OCaml 2014, and shortly after.
All posts will go up on the new Platform blog at https://opam.ocaml.org/blog
This comment will be updated as things change/progress.
Week 0
Week 1
Week 2
Week 3
Others
The text was updated successfully, but these errors were encountered: