mypeopoly / magnetox-os-update

0 stars 1 forks source link

update to the base code #1

Closed nmavor closed 5 months ago

nmavor commented 5 months ago

Hi, peopoly!! The pull gets some updates as follows: 1) lint the magneto-manager.py 2) add to the API "/get_git_version" it will give the user a local git/commit version 3) add "_UPDATE_OS_DEV" now will checkout from the dev branch 4) update "_UPDATE_OS" and remove the need for "CHMOD_E" (I update the file to be executed)

nmavor commented 5 months ago

new API call is "http://XXX.XXX.XXX.XXX:8880/get_git_version" and output will be {"git_branch":"XXXXX","git_commit":"XXXXX"}