• Home
  • Raw
  • Download

Lines Matching +full:0 +full:- +full:all +full:- +full:deps

1 #!/usr/bin/python3 -u
31 exclude_string = ('--exclude="deps/*" --exclude="tests/*" --exclude=.git '
32 '--exclude="site_tests/*" --exclude="**.pyc"')
37 # Include the __init__.py file for the profilers and exclude all its
41 exclude_string += ' --exclude="profilers/%s"' % f
44 # directory. We use '-C' for tar to change to the required
53 # Also note that this only works because tar prevents us from un-tarring
62 parser.add_option("-d", "--dependency", help="package the dependency"
63 " from client/deps directory and upload to the repo",
65 parser.add_option("-p", "--profiler", help="package the profiler "
68 parser.add_option("-t", "--test", help="package the test from client/tests"
71 parser.add_option("-c", "--client", help="package the client "
72 "directory alone without the tests, deps and profilers",
74 parser.add_option("-f", "--file", help="simply uploads the specified"
76 parser.add_option("-r", "--repository", help="the URL of the packages"
79 parser.add_option("-o", "--output_dir", help="the output directory"
82 parser.add_option("-a", "--action", help="the action to perform",
85 parser.add_option("--all", help="Upload all the files locally "
86 "to all the repos specified in global_config.ini. "
87 "(includes the client, tests, deps and profilers)",
88 dest="all", action="store_true", default=False)
101 # --action=tar_only send in clients in the command line. Please
107 # For all packages, the work-dir should have 'client' appended to it.
137 # for the profilers and deps
143 ' --exclude="**%s" --exclude="**%s.checksum" ' %
146 # We don't want any pre-existing tarballs and checksums to
201 """Tar all packages up and return a list of each tar created"""
215 # for the profilers and deps
220 # We don't want any pre-existing tarballs and checksums to
223 ' --exclude="**%s" --exclude="**%s.checksum" ' %
239 dep_dir = os.path.join(client_dir, "deps")
241 # Directory where all are kept
259 # process deps
260 deps_list = get_subdir_list('deps', client_dir)
261 deps = ','.join(deps_list)
272 all_packages.extend(tar_packages(pkgmgr, 'dep', deps, dep_dir,
282 client_utils.run('rm -rf ' + temp_dir)
288 process_packages(pkgmgr, 'dep', deps, dep_dir, action=action)
311 sys.exit(0)
335 " the --repository option.")
342 sys.exit(0)
344 dep_dir = os.path.join(client_dir, "deps")
347 # Due to the delayed uprev-ing of certain ebuilds, we need to support
352 if len(args) == 0 or args[0] not in ['upload', 'remove']:
355 sys.exit(0)
356 cur_action = args[0]
362 sys.exit(0)
368 if options.all: