Ticket #58 (closed todo: done)

Opened 3 years ago

Last modified 2 years ago

scm interface

Reported by: ct Owned by: ct
Priority: normal Milestone:
Component: uwiki Keywords: uwiki lua
Cc: Blocked By:
Blocking:

Description

abstract the libgit.lua to a generic scm interface and implement

_sys/scm/git
_sys/scm/plain

... like modules

then introduce a _scm metadata which records which scm actually is used for a given subtree.

Change History

comment:1 in reply to: ↑ description Changed 3 years ago by ct

Replying to ct:

abstract the libgit.lua to a generic scm interface

Brainstorming, what interfaces are needed:

  1. commit a single file
  2. revert (remove) a commit in case of spam
  3. get the history of a whole repository (RecentChanges)
  4. get a scm-specific identifier of a given file revision (some string), needed for 5.
  5. perform a three way merge in case of concurrent edits, let the user fix conflicts

comment:2 Changed 3 years ago by ct

  • Keywords uwiki lua added

comment:3 Changed 2 years ago by ct

  • Owner set to ct
  • Status changed from new to accepted

comment:4 Changed 2 years ago by ct

  • Status changed from accepted to closed
  • Resolution set to done
Note: See TracTickets for help on using tickets.