Skip to content

TESTTESTTEST#1

Open
bpeabody wants to merge 274 commits intomasterfrom
generate-repo-bak-work-in-multiple-repos
Open

TESTTESTTEST#1
bpeabody wants to merge 274 commits intomasterfrom
generate-repo-bak-work-in-multiple-repos

Conversation

@bpeabody
Copy link
Owner

@bpeabody bpeabody commented Jan 3, 2017

No description provided.

bpeabody and others added 30 commits May 25, 2016 13:18
remove unneeded check for empty tree
Fix for missing shas in status, --verbose option to summary
I plan to use it to check validity of open submodules in the constuctor of
`RepoAST`.
Factored `renderIndex` out of `writeRAST`
Will need to be able to use it on data before AST is created.
Changed the parser to use it for clone types.
Previously, you could not write out `RepoAST` objects containing paths such ast
`x/y`.

I exposed a helper function, `buildDirectoryTree` used to translate the flat
set of stored changes into a hieararchical tree, so that I could test it.
…chies

Add support for writing hierarchical trees.
Added AST, shorthand, and read/write support for specifying open submodules and
changes inside them.  This work required some refactoring to allow for invoking
the logic to write ASTs for the special situation of submodules.
`createRepo` and `createMultiRepos` that take care of:
1. making temp path
2. accepting either AST or shorthand input
…anipulators

Addded test utilities for non-manipulators.
Was using `shorthand.length` as end character instead of `end`, breaking
override parsing with open submodules.

Added test to catch this condition.
- also added missing assertions to methods in submodule_util
- discovered a bug in `getSubmoduleChanges` to be addressed in a later fix
Previously, it did not detect the removal of a submodule.
Fixed `gitSubmoduleChanges` to report deletions.
git meta close checks for unpushed or uncommited changes
- jshint
- close breathing test
We were passing in `Commit` objects, causing it to crash.  Changed it to pass
in the commit (string) shas instead and it works.  I suspect the id is used in
a newer version.
- factored `RepoStatus` into its own module and test
- require several other factorizations and changes to make testable.
in `testMultiRepoManipulator`.
bpeabody and others added 30 commits December 12, 2016 23:37
I needed to use a string that was too large to pass on the command line.
Add option to read from file in `write-repos`.
It was not possible to use them at all.
Wasn't necessary but was annoying.  Also, eliminating call to `getRepoStatus`
will make it faster.
Fixed bug with `write-repos` shorthand args.
Remove `ensureCleanAndConsistent` from `push`.
I made a poor decision early on to let a null head imply a bare repo in the
test framework.  Now, I need to change some parts of the code to handle
headless repositories, and I'd like to be able to reflect such a state in the
test framework.  This change decouples the two concepts of bareness and
headlessness.
So it can work with bare repositories.
Otherwise, it will leave the meta-repo in an unrecognizable state, thinking the
submodule is open when it actually isn't.
Do not allow normal failures in opening one submodule cause us to abort opening
other submodules.
Improve resilience with "half-baked" submodules, and of open overall
A bare but non-empty repository with no current branch was unreadable.
Addressed by wrapping call to `getCurrentBranch` in a try/catch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments