Jump to content

Managing Git from MTA Server (Request)


RickyP

Recommended Posts

Hello,

This is rather a question. Would anyone know if there's a way (and how) or even something already created to manage git from in-game server. Ex: Adding an ACL group with privileges to manage git (simply so you can 'git pull' from in-game if you have proper access).

And if we go into more complex, could it be any possible to even merge branches, pull, reverting, etc.

Thanks :)

Link to comment
  • 2 weeks later...
  • 1 month later...

Thinking about it, yes. This is fairly simple if you're hosting on a linux server. Simply create a php scripts or even an API for your own server which uses exec to run linux commands, create different calls to either commit, merge, pull, or do what ever you want. simply execute these linux based commands and you're fine.

On a windows server this'll be a lot harder, even impossible I guess. You'll have to go to great lengths to achieve that

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...