简体   繁体   English

gem从Rails应用程序将文件从ruby提交到svn

[英]gem to commit files into svn from ruby on rails application

Hey I am working on ruby on rails application where user can create set of instructions in the form of text. 嘿,我正在开发Rails应用程序上的ruby,用户可以在其中创建文本形式的指令集。 We have a requirement to save this text (dynamic) into svn. 我们需要将此文本(动态)保存到svn中。 Could someone suggest which is the best gem to achieve below: 有人可以建议以下哪个是最好的宝石:

  1. I have to push text into git as a .txt file. 我必须将文本作为.txt文件推送到git中。
  2. I need to checkout latest text from svn to the UI. 我需要从svn到UI签出最新文本。
  3. If any conflicts, need to handle error messages. 如果有任何冲突,则需要处理错误消息。
  4. We need to show all the files available in svn repo. 我们需要显示svn repo中所有可用的文件。

Help would be appreciated :) 帮助将不胜感激:)

I don't know of a gem that does that, but this seems like a good start 我不知道能做到这一点的宝石,但这似乎是一个好的开始

http://www.agileweboperations.com/super-simple-ruby-subversion-command-line-wrapper http://www.agileweboperations.com/super-simple-ruby-subversion-command-line-wrapper

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

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