- 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:
- TensorFlow與自然語言處理應用
- 做合成:Photoshop構圖+透視+紋理+造型+調色技術修煉
- Final Cut Pro X 影視包裝剪輯完全自學教程(培訓教材版)
- 中文版Premiere影視編輯課堂實錄
- SolidWorks 2021中文版機械設計從入門到精通
- Drools規則引擎技術指南
- 中文版 Photoshop CC 從入門到精通
- Word 2010實戰技巧精粹
- UG NX 完全實例解析
- 中文版Illustrator CC實戰視頻教程
- 中文版Photoshop CS6全能修煉圣經(移動學習版)
- JBoss Tools 3 Developers Guide
- UG NX 12.0中文版從入門到精通
- Origin 2022科學繪圖與數據分析
- 卷珠簾:Photoshop古風插畫技法完全教程