apt回购管理、建造等。

django-repomgmt的Python项目详细描述


python django repomgmt

这个django应用程序实现了创建apt存储库所需的一切, 建立基础设施和自动包构建。

它期望访问openstack计算云来执行构建和使用 在后台重新编程以管理apt存储库,处理传入, 等

设置应该相当简单。

你需要django,django tastype,django芹菜,sbuild和devscripts 安装。

这些是需要添加到设置中的配置选项。py:

apt_repo_base_url

The base URL by which your repositories will be reachable.

E.g. if set to http://apt.example.com/, it’s assumed that your web server is configured to expose e.g. the “cisco” repository under http://apt.example.com/cisco

后MK构建定制

An argv to be executed in the schroot after mk-sbuild is done.

E.g. to avoid using a proxy for a apt.example.com, you can do something like:

POST_MK_SBUILD_CUSTOMISATION = [‘bash’, ‘-c’, ‘echo ‘Acquire::HTTP::Proxy::apt.example.com “DIRECT”;’ > /etc/apt/apt.conf.d/99noproxy’]

基本URL

The base URL of the repomgmt app. This is used to construct URLs where build nodes can fetch their puppet manifest.

基本tarball网址

A URL where the generated tarballs can be found. The tarballs generally land in /var/lib/schroot/tarballs, so you should configure a web server to serve that directory at this URL.

基本回购目录

The base directory where the repositories should be kept. Each repository will be represented by a subdirectory here.

预计django芹菜已经配置好。这应该很简单,只需在设置的末尾添加类似的内容即可。py:

INSTALLED_APPS += (“djcelery”, ) import djcelery djcelery.setup_loader()

BROKER_URL = ‘amqp://guest:guest@localhost:5672/’

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Jsonify使用Jackson来定义嵌套对象   在Swing中禁用java图形调试   java Selenium Webdriver拖放在Jenkins上不起作用   java我对一个显示器的问题有一个非常不切实际的询问   java增强的“for”循环导致ArrayIndexOutOfBoundsException   ArrayAdapter适用于Java中的安卓编程,字符串数组   linux在Ubuntu上通过PulseAudio播放Java音频文件时出错   java在Spring应用程序中加载内部(类路径)和外部属性文件   java使用Maven连接到mySQL   Java应用程序的设计   websocket在电报api java中与dc的连接   java XMLStreamException,因为xml中的(&N)   java从控制台输出到JTextArea   Java导出文本文件   java实现parseInt方法   java为什么servlet容器会同步对特定资源/servlet的多个请求的访问?   循环中的Java“while”变量   用Java编程一个国际象棋游戏,gameOver布尔不起作用   java如何获得真正的JPanel大小?