Discussion:
[ocaml-platform] github:ocaml/ocamlbuild?
Gabriel Scherer
2015-12-02 20:17:31 UTC
Permalink
Hi platform,

Would it be possible to create an ocamlbuild repository in the
github:ocaml organization, to host the ocamlbuild project as it is
split off the main OCaml distribution? @whitequark could be
co-{owner,maintainer,developer} of the repository.

Thanks
Thomas Gazagnaire
2015-12-03 12:51:24 UTC
Permalink
There's already a (private) ocaml/ocamlbuild repository which was created by Fabrice in Aug 2013 to prepare the eventual split (that's what I call forward vision! :p).

Fabrice, do you mind if I delete the repository and create a fresh one for Gabriel and @whitequark?

Best,
Thomas
Post by Gabriel Scherer
Hi platform,
Would it be possible to create an ocamlbuild repository in the
github:ocaml organization, to host the ocamlbuild project as it is
co-{owner,maintainer,developer} of the repository.
Thanks
_______________________________________________
Platform mailing list
http://lists.ocaml.org/listinfo/platform
Thomas Gazagnaire
2015-12-03 14:48:01 UTC
Permalink
Thanks!

Gabriel, Peter you are now admin of ocamlbuild-dev with full power over ocaml/ocamlbuild

Best,
Thomas
Hi Thomas,
cp -dpR ocaml ocamlbuild
cd ocamlbuild
git subtree split -P ocamlbuild -b next-ocamlbuild
git filter-branch --prune-empty next-ocamlbuild
git checkout next-ocamlbuild
git mv *.ml *.mli *.mll src
mkdir Attic
git mv Makefile* Attic
git mv ocamlbuild* Attic
cp -dpR configure* m4 Makefile Makefile.config.in <http://makefile.config.in/> .gitignore ~/GIT/github/ocaml/ocamlbuild
cp -dpR scripts ~/GIT/github/ocaml/ocamlbuild/scripts
)
git add .gitignore
git add src/.depend
git add configure configure.ac <http://configure.ac/> m4/ax_compare_version.m4 m4/ocaml.m4 Makefile Makefile.config.in <http://makefile.config.in/> scripts/tolower.sed
--Fabrice
There's already a (private) ocaml/ocamlbuild repository which was created by Fabrice in Aug 2013 to prepare the eventual split (that's what I call forward vision! :p).
Best,
Thomas
Post by Gabriel Scherer
Hi platform,
Would it be possible to create an ocamlbuild repository in the
github:ocaml organization, to host the ocamlbuild project as it is
co-{owner,maintainer,developer} of the repository.
Thanks
_______________________________________________
Platform mailing list
http://lists.ocaml.org/listinfo/platform <http://lists.ocaml.org/listinfo/platform>
François Bobot
2015-12-04 16:35:09 UTC
Permalink
Hi Thomas,
git subtree split -P ocamlbuild -b next-ocamlbuild
git filter-branch --prune-empty next-ocamlbuild
git checkout next-ocamlbuild
Just for this part you can replace these line by

git filter-branch --prune-empty --subdirectory-filter ocamlbuild -- --all

and all the tags and branches are filtered.

My two cents,
--
François
Ashish Agarwal
2015-12-13 00:29:54 UTC
Permalink
What's the next step on this? Gabriel, I can help if you'd like. I'm eager
to get the repo created as I have several issues to report.
Hi Thomas,
You can. The only interesting part was how it was created by xtracting
git subtree split -P ocamlbuild -b next-ocamlbuild
git filter-branch --prune-empty next-ocamlbuild
git checkout next-ocamlbuild
Just for this part you can replace these line by
git filter-branch --prune-empty --subdirectory-filter ocamlbuild -- --all
and all the tags and branches are filtered.
My two cents,
--
François
_______________________________________________
Platform mailing list
http://lists.ocaml.org/listinfo/platform
Gabriel Scherer
2015-12-13 09:11:46 UTC
Permalink
Indeed, the repo is blank for now. I haven't taken the time to do this yet,
but will next week-end at the latest. In the meantime, feel free to use the
mantis bugtracker to report issue -- we will have to migrate them to github
in any case -- setting the "Target version" to "later".
Post by Ashish Agarwal
What's the next step on this? Gabriel, I can help if you'd like. I'm eager
to get the repo created as I have several issues to report.
Hi Thomas,
You can. The only interesting part was how it was created by
git subtree split -P ocamlbuild -b next-ocamlbuild
git filter-branch --prune-empty next-ocamlbuild
git checkout next-ocamlbuild
Just for this part you can replace these line by
git filter-branch --prune-empty --subdirectory-filter ocamlbuild -- --all
and all the tags and branches are filtered.
My two cents,
--
François
_______________________________________________
Platform mailing list
http://lists.ocaml.org/listinfo/platform
_______________________________________________
Platform mailing list
http://lists.ocaml.org/listinfo/platform
Ashish Agarwal
2015-12-13 18:59:02 UTC
Permalink
I'll just wait to create the issues to avoid the extra work of porting them
from Mantis (I'm assuming that hasn't been automated). I'm tracking the
issues in my notes, so won't forget them.
Post by Gabriel Scherer
Indeed, the repo is blank for now. I haven't taken the time to do this
yet, but will next week-end at the latest. In the meantime, feel free to
use the mantis bugtracker to report issue -- we will have to migrate them
to github in any case -- setting the "Target version" to "later".
Post by Ashish Agarwal
What's the next step on this? Gabriel, I can help if you'd like. I'm
eager to get the repo created as I have several issues to report.
Hi Thomas,
You can. The only interesting part was how it was created by
git subtree split -P ocamlbuild -b next-ocamlbuild
git filter-branch --prune-empty next-ocamlbuild
git checkout next-ocamlbuild
Just for this part you can replace these line by
git filter-branch --prune-empty --subdirectory-filter ocamlbuild -- --all
and all the tags and branches are filtered.
My two cents,
--
François
_______________________________________________
Platform mailing list
http://lists.ocaml.org/listinfo/platform
_______________________________________________
Platform mailing list
http://lists.ocaml.org/listinfo/platform
François Bobot
2015-12-15 10:05:40 UTC
Permalink
What's the next step on this? Gabriel, I can help if you'd like. I'm eager to get the repo created
as I have several issues to report.
Sorry I forgot to populate the repo last week.

It is now done. I couldn't follow the step given by Fabrice because I couldn't find the file copied,
so I modified in my own way the Makefile of ocamlbuild so that it compiles alone.

6a7311b74a639f77868f8c2d25d74c46763bee24

It uses `$(ocamlc -where)/Makefile.config` so that it doesn't need a configure

I reverted the addition of "*_ascii" so that we can test ocamlbuild with 4.02.3.

62e9aeddcec2ae6658269ef057e3265aee11bdda

There is many polishing to do, but the compilation infrastructure should work well enough for
starting to contribute. I'm opening issues for the remaining tasks, travis being the main one.

Best,
--
François
Gabriel Scherer
2015-12-15 10:08:55 UTC
Permalink
One other thing we have to do is to get the issue tracker in shape. I'm not
decided on whether to set up an automated porting of Mantis issues into
Github, or try to take the opportunity to select the relevant issues that
we have a hope of solving and close the others. Option two sounds like much
more work (and I have very little time to spend on this right now), so
probably option one: automatic porting. Mantis easily gives a CSV datasheet
for custom selections, so the game would be to automate the creation of
issues on the github side.
Post by François Bobot
Post by Ashish Agarwal
What's the next step on this? Gabriel, I can help if you'd like. I'm
eager to get the repo created
as I have several issues to report.
Sorry I forgot to populate the repo last week.
It is now done. I couldn't follow the step given by Fabrice because I
couldn't find the file copied, so I modified in my own way the Makefile of
ocamlbuild so that it compiles alone.
6a7311b74a639f77868f8c2d25d74c46763bee24
It uses `$(ocamlc -where)/Makefile.config` so that it doesn't need a configure
I reverted the addition of "*_ascii" so that we can test ocamlbuild with 4.02.3.
62e9aeddcec2ae6658269ef057e3265aee11bdda
There is many polishing to do, but the compilation infrastructure should
work well enough for starting to contribute. I'm opening issues for the
remaining tasks, travis being the main one.
Best,
--
François
Anil Madhavapeddy
2015-12-15 11:16:16 UTC
Permalink
The OCaml GitHub bindings in OPAM should have everything needed for this. Let me know if there's anything missing from them or problems with the interface.

Anil
One other thing we have to do is to get the issue tracker in shape. I'm not decided on whether to set up an automated porting of Mantis issues into Github, or try to take the opportunity to select the relevant issues that we have a hope of solving and close the others. Option two sounds like much more work (and I have very little time to spend on this right now), so probably option one: automatic porting. Mantis easily gives a CSV datasheet for custom selections, so the game would be to automate the creation of issues on the github side.
What's the next step on this? Gabriel, I can help if you'd like. I'm eager to get the repo created
as I have several issues to report.
Sorry I forgot to populate the repo last week.
It is now done. I couldn't follow the step given by Fabrice because I couldn't find the file copied, so I modified in my own way the Makefile of ocamlbuild so that it compiles alone.
6a7311b74a639f77868f8c2d25d74c46763bee24
It uses `$(ocamlc -where)/Makefile.config` so that it doesn't need a configure
I reverted the addition of "*_ascii" so that we can test ocamlbuild with 4.02.3.
62e9aeddcec2ae6658269ef057e3265aee11bdda
There is many polishing to do, but the compilation infrastructure should work well enough for starting to contribute. I'm opening issues for the remaining tasks, travis being the main one.
Best,
--
François
_______________________________________________
Platform mailing list
http://lists.ocaml.org/listinfo/platform
Loading...