built/
build_*/
*~
+*.pyc
+#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
# build.py - part of the FDroid server tools
import sys
import os
import shutil
-import glob
import subprocess
import re
import zipfile
from xml.dom.minidom import Document
from optparse import OptionParser
+import common
+
#Read configuration...
execfile('config.py')
-execfile('metadata.py')
# Parse command line...
parser = OptionParser()
(options, args) = parser.parse_args()
# Get all apps...
-apps = read_metadata()
+apps = common.read_metadata()
#Clear and/or create the 'built' directory, depending on mode:
built_dir = 'built'
# -*- coding: utf-8 -*-
#
-# metadata.py - part of the FDroid server tools
+# common.py - part of the FDroid server tools
# Copyright (C) 2010, Ciaran Gultnieks, ciaran@ciarang.com
#
# This program is free software: you can redistribute it and/or modify
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+import glob, os, sys
+
def read_metadata(verbose=False):
apps = []
+#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
# update.py - part of the FDroid server tools
repo_url = None
execfile('config.py')
-execfile('metadata.py')
+import common
# Parse command line...
parser = OptionParser()
sys.exit(1)
# Get all apps...
-apps = read_metadata(verbose=options.verbose)
+apps = common.read_metadata(verbose=options.verbose)
# Copy apks and source tarballs for stuff we've built from source that
# is flagged to be included in the repo...