~nacc/usd-importer:modernize-scripts-v2

Last commit made on 2017-11-13
Get this branch:
git clone -b modernize-scripts-v2 https://git.launchpad.net/~nacc/usd-importer
Only Nish Aravamudan can upload to this branch. If you are Nish Aravamudan please log in for upload directions.

Branch merges

Branch information

Name:
modernize-scripts-v2
Repository:
lp:~nacc/usd-importer

Recent commits

9ed2e8a... by Nish Aravamudan on 2017-11-02

source-package-walker.py: add script to linearly walk all source packages

It uses the same blacklist, whitelist and phasing that the other scripts
do.

5c9adbe... by Nish Aravamudan on 2017-11-01

update-repository-alias: add script to update the default repository for a srcpkg

LP: #1661600

04fcf21... by Nish Aravamudan on 2017-11-01

import-source-packages.py: add modernized importer loop script

LP: #1728752

80b7dc4... by Robie Basak on 2017-10-31

Add test_git_repository.py

As a starting point, this adds tests for follow_symlinks_to_blob using
repo_builder.py.

f034bd1... by Robie Basak on 2017-10-31

follow_symlinks_to_blob: fix symlink edge case

Fix the case where changelog is a symlink to another file in the same
directory.

A test for this is in the following commit.

765a34f... by Robie Basak on 2017-10-31

Add repo_builder.py

Represent a git repository as a single Python data structure. This
module is explained in more detail in its docstring.

6e7088f... by Nish Aravamudan on 2017-11-10

build: symlink cache hits into parent directory

The other fetch* operations will result in either the relevant files or
symlinks to them being present in the parent directory. However, the
cache path does not do that, so if a deletes relevant files from .., but
not the cache, the build will succeed, but there will be no orig in the
parent directory. This is not in and of itself necessarily an error, as
the orig tarball is only needed for further use on merges and upstream
updates, but it is counter-intuitive and inconsistent.

LP: #1731513

745ce92... by Nish Aravamudan on 2017-11-10

build: clarify variable name in _symlink_paths_into_parent_dir

It is a new path not an old path.

26bb9d1... by Nish Aravamudan on 2017-11-10

git_repository: drop unused merge_commit_to_devel_head

c903505... by Nish Aravamudan on 2017-11-09

git_repository._add_remote_by_fetch_url: force update remote-tracking refs

With the recent changes to the importer algorithm (e.g., dropping of
publishing parents, force moving of branch refs), it is no longer
guaranteed that the series branches are fast-forwarding. However, our
default refspecs installed by `git ubuntu clone` will error out when
they are not. Expect non-fastfowarding updates to the branches and tags,
as we implicitly want to treat the remote as authoritative for those
objects.

LP: #1731299