- 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:
- 突破平面Photoshop UI界面設計與制作剖析
- TArch 8.5天正建筑軟件標準教程
- 中文版3ds Max 2016/VRay效果圖制作實戰基礎教程
- Photoshop CC 2017實戰基礎培訓教程(全視頻微課版)
- IBM Lotus Notes 8.5 User Guide: LITE
- Flash Facebook Cookbook
- 中文版3ds Max 2016實用教程
- 新編 中文版Photoshop入門與提高
- Microsoft Dynamics GP 2010 Reporting
- 量化投資與FOF投資:以MATLAB+Python為工具
- Photoshop CS6標準教程(全視頻微課版)
- 精進PPT:PPT設計思維、技術與實踐(第3版)
- 3ds Max/VRay印象燈光/材質/渲染技術精粹Ⅲ
- CAD/CAM應用教程
- Python氣象應用編程