简体   繁体   English

通过python自动提交git

[英]Automatically commit in git through python

I want to write a service that using heroku to manage my git repos automatically, but I don't know how to using git in heroku&python. 我想编写一个使用heroku自动管理git repos的服务,但是我不知道如何在heroku&python中使用git。 Just simple process and simple push. 只是简单的过程和简单的推送。

That is to say, i don't want to manage heroku's git, but using heroku to manage another git repo/repos. 也就是说,我不想管理heroku的git,而是使用heroku来管理另一个git repo / repos。

Is there exist a standard procedure to do all of this? 是否存在执行所有这些操作的标准程序? in a mature and safe (in some extent) way. 以一种成熟且安全的方式(在某种程度上)。

Also, can you experienced smart guys tell me some python mudule or codes about this? 此外,您是否有经验的聪明人可以告诉我一些有关此的python迷惑或代码?

I have read Gitpython, gitosis, but I don't think they are suitable. 我读过Gitpython,gitosis,但我认为它们不合适。

dulwich is a re-implement of git in python, which can run on some cloud PaaS, It's a really good idea to solve this. dulwich是python中git的重新实现,可以在某些云PaaS上运行,解决这个问题真的是一个好主意。

http://www.samba.org/~jelmer/dulwich/ http://www.samba.org/~jelmer/dulwich/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM