Minutes of the Meeting to Discuss Moving Cog to Github

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Minutes of the Meeting to Discuss Moving Cog to Github

Eliot Miranda-2
Hi All,

    here are the minutes of, and action items arising from, the meeting on Wednesday 18th of May to discuss moving the Cog svn repository to Github.  Please read if you're interested and discuss on vm-dev.  The major decision for the community to participate in is when to make the change, which we hope will happen in the next few weeks.  Thanks to all who attended the meeting and to all who have helped in making this a reality.  This is exciting!

VM Move to Github Meeting Notes

The name of the organisation and repository was agreed to be, and has been created as

Organisation name: OpenSmalltalk

Repository name: vm

URL: github.com/OpenSmalltalk/vm


Administration duties:

  • Tim Felgentreff, David Lewis, Esteban Lorenzano, Eliot Miranda


We decided to have everyone who currently has access to SVN also get write access to the new repository.


There will be a master branch that is stable and from which releases are made using tags. Only administrators integrate into that branch. Ongoing development will be on a “dev” branch. This should also be kept stable for collaboration purposes, but breakage can happen occasionally. Contributors working on larger changes will do so on separate branches to avoid conflicts/breaking other people’s code.


Every commit will be tested by Travis (and Appveyor for Windows). Builds and tests will be run for Windows, Linux, and OS X, both on 32-bit, 64-bit, and ARM (as applicable). The master will only ever be merged with green commits. The dev branch should be green, and if something breaks, but the committer has no access or no time to fix it, we agreed that any administrator may roll back the breaking change using git revert. This way, the breaking change is preserved in the history, but the current HEAD is green. We will also disable “force-pushing” to the repository to ensure that no commit history can be tampered with.


In case of any disagreements about reverting other people’s code, we declared Eliot (*) to be the arbiter.


Release tags on the master will trigger Travis to build release artifacts, including debian packages.


To have incremental monotonic, human-readable version identifiers, we decided to use timestamps in the form YYYYMMDDHHmm in UTC. In order to ensure these timestamps are included in the sources, we will have a commit script in the repository that any contributor must use to update the dev and master branches (**). The checkout command for any version then becomes “git checkout branch@{timestamp}”. Both the built VMs via a -version flag, and sources via a header file, will be marked with these timestamps.


It was decided to leave the build system as-is using GNU Makefiles where available with a commitment to move to GNU Makefiles on Linux. We will use CMake to produce per-platform config files that identify platform facilities (such as epoll(2) vs kqueue(2) vs poll(s) vs select(3)).

We discussed ethics, which derive from the “if you break it, you fix it” philosophy and distilled it into the “administrators may revert” policy above.  We don’t want to prevent breakages, nor make people afraid of breaking things.  We merely want to prevent other people being affected by breakages, especially those that may be operating under production or time constraints.


We will integrate the Github commit notifications with a Codespeed instance that will test commits for performance regressions.


Action Items


  • Write the commit script

  • Set a date for the move (sooner rather than later)

  • Move the repository

  • Enable automatic builds for all the platforms

  • Write GNU makefiles for unix/linux

  • Make WebHooks for Commit Notifications available to anyone who wants them.
  • Write CMake code to generate per-platform headers (***)


_,,,^..^,,,_
best, Eliot

(*) under protest
(**) use whatever versioning you want on your own versions, but the versions in OpenSmalltalk/vm will use this convention exclusively
(***) which will /not/ be called "config.h", but e.g. "ostvmConfig.h", so as to avoid conflicts with other packages using autoconf and CMake


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] Minutes of the Meeting to Discuss Moving Cog to Github

Eliot Miranda-2
Hi Juan,

On Fri, May 20, 2016 at 12:57 PM, Juan Vuletich <[hidden email]> wrote:
Hi Folks,

This is just great!

I assume builds will include:
- V3, Cog, 32bitBinaries
- Spur32, Cog, 32bitBinaries
- Spur64, Cog, 64bitBinaries

Yes.
 

Would it also be possible to include:
- V3, Stack, 32bitBinaries
- Spur32, Stack, 32bitBinaries
- Spur64, Stack, 64bitBinaries
?

I think so.  Tim F tells me that Github support for open source projects is free, including disk space, so there's nothing to stop us including a comprehensive suite of VMs.
 
I think that having the non-Cog builds always green could benefit those platforms where code generation is not possible, and might ease porting to new platforms. Especially for Spur64.

Indeed, I hope that with the new repository it will be much easier for the people who got the VM working on iPad to integrate their changes.  It should also be possible to have Linux ARM v6 (Pi) and Linux ARM v7 (Android) VMs.
 

Thanks you all!
Juan Vuletich


On 5/20/2016 2:28 PM, Eliot Miranda wrote:
 


Hi All,

    here are the minutes of, and action items arising from, the meeting on Wednesday 18th of May to discuss moving the Cog svn repository to Github.  Please read if you're interested and discuss on vm-dev.  The major decision for the community to participate in is when to make the change, which we hope will happen in the next few weeks.  Thanks to all who attended the meeting and to all who have helped in making this a reality.  This is exciting!

VM Move to Github Meeting Notes

The name of the organisation and repository was agreed to be, and has been created as

Organisation name: OpenSmalltalk

Repository name: vm

URL: github.com/OpenSmalltalk/vm


Administration duties:

  • Tim Felgentreff, David Lewis, Esteban Lorenzano, Eliot Miranda


We decided to have everyone who currently has access to SVN also get write access to the new repository.


There will be a master branch that is stable and from which releases are made using tags. Only administrators integrate into that branch. Ongoing development will be on a “dev” branch. This should also be kept stable for collaboration purposes, but breakage can happen occasionally. Contributors working on larger changes will do so on separate branches to avoid conflicts/breaking other people’s code.


Every commit will be tested by Travis (and Appveyor for Windows). Builds and tests will be run for Windows, Linux, and OS X, both on 32-bit, 64-bit, and ARM (as applicable). The master will only ever be merged with green commits. The dev branch should be green, and if something breaks, but the committer has no access or no time to fix it, we agreed that any administrator may roll back the breaking change using git revert. This way, the breaking change is preserved in the history, but the current HEAD is green. We will also disable “force-pushing” to the repository to ensure that no commit history can be tampered with.


In case of any disagreements about reverting other people’s code, we declared Eliot (*) to be the arbiter.


Release tags on the master will trigger Travis to build release artifacts, including debian packages.


To have incremental monotonic, human-readable version identifiers, we decided to use timestamps in the form YYYYMMDDHHmm in UTC. In order to ensure these timestamps are included in the sources, we will have a commit script in the repository that any contributor must use to update the dev and master branches (**). The checkout command for any version then becomes “git checkout branch@{timestamp}”. Both the built VMs via a -version flag, and sources via a header file, will be marked with these timestamps.


It was decided to leave the build system as-is using GNU Makefiles where available with a commitment to move to GNU Makefiles on Linux. We will use CMake to produce per-platform config files that identify platform facilities (such as epoll(2) vs kqueue(2) vs poll(s) vs select(3)).

We discussed ethics, which derive from the “if you break it, you fix it” philosophy and distilled it into the “administrators may revert” policy above.  We don’t want to prevent breakages, nor make people afraid of breaking things.  We merely want to prevent other people being affected by breakages, especially those that may be operating under production or time constraints.


We will integrate the Github commit notifications with a Codespeed instance that will test commits for performance regressions.


Action Items


  • Write the commit script

  • Set a date for the move (sooner rather than later)

  • Move the repository

  • Enable automatic builds for all the platforms

  • Write GNU makefiles for unix/linux

  • Make WebHooks for Commit Notifications available to anyone who wants them.
  • Write CMake code to generate per-platform headers (***)


_,,,^..^,,,_
best, Eliot

(*) under protest
(**) use whatever versioning you want on your own versions, but the versions in OpenSmalltalk/vm will use this convention exclusively
(***) which will /not/ be called "config.h", but e.g. "ostvmConfig.h", so as to avoid conflicts with other packages using autoconf and CMake




--
_,,,^..^,,,_
best, Eliot


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] Minutes of the Meeting to Discuss Moving Cog to Github

EstebanLM

On 20 May 2016, at 23:49, Eliot Miranda <[hidden email]> wrote:

Indeed, I hope that with the new repository it will be much easier for the people who got the VM working on iPad to integrate their changes.  It should also be possible to have Linux ARM v6 (Pi) and Linux ARM v7 (Android) VMs.

For iPad, sources were working a couple of years ago and we never comeback… make it work should be not hard but once integrated with John’s work on cocoa we'll need to have a new look… 

Esteban