Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the configuration server by an endpoint for providing version information about the workspace branch #893

Closed
mariusoe opened this issue Aug 5, 2020 · 0 comments · Fixed by #906
Assignees
Labels
area/config-server enhancement New feature or request

Comments

@mariusoe
Copy link
Member

mariusoe commented Aug 5, 2020

In this ticket the configuration server should be extended by an endpoint, that information about the version history of the workspace branch can be retrieved. The live branch doesn*'t have to be considered in this ticket.

It should be possible to retrieve the individual versions (which correspond to the commits in the local repository), including information such as commit ID, author, date, and the files that were modified in them.

The model of the endpoint can be similar to the following:

[
  {
    'name': 'Version 10',
    'id': 'xxxxxxx', # commit id
    'date': 13456789, # timestamp of the commit
    'author': 'admin', # author of the commit
    'changes': [ # modified files
      '/test1.yml',
      '/git/file.yml'
    ]
  },
   {
    'name': 'Version 9',
    'id': 'xxxxxxx', 
    'date': 13456789,
    'author': 'admin',
    'changes': [
      '/test1.yml'
    ]
  },
  ...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config-server enhancement New feature or request
Projects
None yet
1 participant