- Plone 3 Products Development Cookbook
- Juan Pablo Gimenez Marcos F.Romero
- 199字
- 2021-08-06 17:05:56
Checking out code from a version controlsystem
Developing without a Version Control System (VCS) is strongly discouraged: you may not want to use VCS while simply following the recipes in this book. However, any project, large or small, should use a VCS wherever possible. In the next chapter, we will start developing a package, so we’ll adjust our buildout with a handy extension to support the development of products: mr.developer.
How to do it…
Edit buildout.cfg
and add the following lines:
[buildout]
...
extensions = mr.developer
sources = sources
[sources]
# repository information here
# format <name> = <kind> <url>
# my.package = svn http://example.com/svn/my.package/trunk
How it works…
By adding the mr.developer
extension, we can define a new [sources]
section with settings to automatically checkout our projects—at buildout time—from whatever version control system we use. This will facilitate the repetitive task of updating every package we develop.
Supported kinds of repositories are:
- svn, for subversion: http://subversion.tigris.org/
- hg, for mercurial: http://mercurial.selenic.com/wiki/
- git, at http://git-scm.com/./
More information about mr.developer
is available at http://pypi.python.org/pypi/mr.developer.
There’s more…
If you are interested in any of the above VCS, read more about them at:
- EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g: LITE
- Python 2.6 Graphics Cookbook
- 邊做邊學:3ds Max 2014動畫制作案例教程
- Apache Roller 4.0 – Beginner's Guide
- Photoshop日系少女寫真后期解密
- 數碼攝影后期處理秘笈:Photoshop CC專業調色(第2版)
- 中文版AutoCAD 2014高手之道
- SOLIDWORKS Visualize 實例詳解(微視頻版)
- Photoshop CC 2017從入門到精通
- 輕松玩轉3D One AI
- Photoshop+Illustrator商業廣告設計從入門到精通(第2版)
- 中文版Photoshop CS6從新手到高手(超值版)
- 數碼攝影后期密碼Photoshop CC調色秘籍(第2版)
- 新編 中文版Photoshop平面設計入門與提高
- 邊做邊學:CorelDRAW X6圖形設計案例教程(第2版)(微課版)