GitHub – Cloverleaf – working with the repository

Clovertech Forums Cloverleaf GitHub – Cloverleaf – working with the repository

  • Creator
    Topic
  • #121918
    Rob Lindsey
    Participant

      We have been asked within our environment to start using GitHub a.s.a.p.  I am looking for how best to do the setup on a cloverleaf server and how to make it work with the IDE.  We are running on RHEL Linux.  I believe I have to have download some types of programs that will run and allow my developers to work on Tclprocs, Sites, etc.

      Looking for any an ALL information I can get my hands on.

      Thanks in advance for any and all advice

      Rob Lindsey

    Viewing 0 reply threads
    • Author
      Replies
      • #121919
        David Barr
        Participant

          Cloverleaf can’t work with multiple developers like normal software projects. If two developers make separate clones of the repo, they can’t both be running at the same time since Cloverleaf relies on having a single HCISITEDIR and specific file/folder structure under that.

          What we’ve done is have all of our users open SSH sessions to their own accounts, sudo over to the hci account, and run version control commands as hci. We’re still using SVN since we haven’t seen much need to switch to GIT given the Cloverleaf restrictions.

          You could probably put all of your files from HCIROOT into a repo, use .gitignore files to exclude folders that aren’t maintained locally at your site, and make separate branches for test and production. Commit files to your test branch, merge them into the production branch and pull them from your prod server.

          Like I said, we’re still on SVN and we do something similar, so hopefully someone who manages their environment with GIT can respond.

      Viewing 0 reply threads
      • You must be logged in to reply to this topic.