Menu

#665 consider versioning support for Github

open
nobody
None
5
2022-03-10
2019-02-12
No

With the new support for Github, where Autoplot (and Das2) can mount a Github folder directly, the question is now should local changes and commits be supported? I verified that the "read-only cache" can be used with the local copy to verify changes before they are committed to the github server. Perhaps the script editor could detect that it's a github folder, and then visualize changes from github to the local folder? (For example, painting the line numbers bar green for inserted lines, blue for changes, etc.)

Discussion

  • Jeremy Faden

    Jeremy Faden - 2019-02-12
     
  • Jeremy Faden

    Jeremy Faden - 2019-04-04
    • summary: consider RCS versioning support for Github --> consider versioning support for Github
     
  • Jeremy Faden

    Jeremy Faden - 2019-06-15

    See also https://sourceforge.net/p/autoplot/feature-requests/668/, new version of script detected could be accompanied by a differences visualization.

     

    Last edit: Jeremy Faden 2019-06-15
  • Jeremy Faden

    Jeremy Faden - 2021-03-16

    Presently, the gitlabs project must be public, otherwise the server sends back and login screen and a 200 (okay) response. This should be detected, because it is very confusing!

     
  • Jeremy Faden

    Jeremy Faden - 2021-03-17

    This is detected now.

     
  • Jeremy Faden

    Jeremy Faden - 2022-03-10

    Private repos are supported when a local clone is made and linked in with a ro_cache.txt file in the fscache. There is a script that sets this up, linked here: https://github.com/autoplot/dev/blob/master/demos/tools/editor/git-actions.xml