- 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:
- ASP.NET MVC 2 Cookbook
- Joomla! Social Networking with JomSocial
- Word 2010實戰技巧精粹
- Photoshop圖形圖像處理實用教程
- SolidWorks 2018有限元:運動仿真與流場分析自學手冊
- Photoshop CC平面設計教程(微課版)
- The PEAR Installer Manifesto
- CAXA 實體設計2013案例課堂
- Adobe創意大學InDesign產品專家認證標準教材(CS6修訂版)
- CAD/CAM應用教程
- After Effects 2023實訓教程
- 24小時玩賺剪映
- 中文版Photoshop 2020基礎培訓教程
- 攝影師的后期課:RAW格式技法篇
- 跟著視頻學Excel數據處理:函數篇