- 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:
- GIMP 2.6 cookbook
- 自己動手寫分布式搜索引擎
- Illustrator實例教程:Illustrator 2021(電子活頁微課版)
- SolidWorks 2008機械設計一冊通
- Pro/E Wildfire 5.0中文版入門、精通與實戰
- 中文版 Photoshop CC 從入門到精通
- Magento 1.4 Themes Design
- BIRT 2.6 Data Analysis and Reporting
- After Effects影視特效立體化教程:After Effects 2021(微課版)
- 中文版After Effects 2022基礎教程
- Learning the Yahoo! User Interface library
- 攝影師的后期必修課(調色篇)
- 中文版AutoCAD 2022從入門到精通
- Photoshop后期強:多重曝光專業技法寶典
- Python 3 Web Development Beginner's Guide