summaryrefslogtreecommitdiff
path: root/migrations
Commit message (Collapse)AuthorAgeFilesLines
* migrations/008: Make it work for chunks whose ref is not a commit SHA1HEADmasterSam Thursfield2016-04-111-6/+45
| | | | | | Reported here: <https://storyboard.baserock.org/#!/story/93> Change-Id: I08aa2f2f205f805661dfd2043eb100baaf2eb72b
* migrations/008: Fix some PyLint warningsSam Thursfield2016-04-111-9/+6
| | | | | | | Fixes unused imports, unused variables, whitespace errors, and lines > 79 chars. Change-Id: Ib663a651de3999d3219c73de714ef064d936ae55
* Merge "migrations: Fix version 7 looking for its data file"Pedro Alvarez2016-04-101-2/+2
|\
| * migrations: Fix version 7 looking for its data fileSam Thursfield2016-04-101-2/+2
| | | | | | | | | | | | | | This broke when I moved the migrations out of definitions.git, and I should have just implemented it like this in the first place. Change-Id: I0096f4410d6475e7f57fd2f04fbfb0e61062b435
* | Merge "migrations: Fix version 6 migration when build system isn't detected"Pedro Alvarez2016-04-101-2/+5
|\ \ | |/
| * migrations: Fix version 6 migration when build system isn't detectedSam Thursfield2016-04-101-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns this... ../spec/migrations/006-specify-build-system.py: Traceback (most recent call last): File "../spec/migrations/006-specify-build-system.py", line 340, in <module> modify_cb=ensure_buildsystem_defined_where_needed) File "/home/sam/baserock/spec/migrations/migrations.py", line 220, in process_definitions changed = modify_cb(contents, filename) File "../spec/migrations/006-specify-build-system.py", line 327, in ensure_buildsystem_defined_where_needed chunk_ref['build-system'] = build_system.name AttributeError: 'NoneType' object has no attribute 'name' Into this: ../spec/migrations/006-specify-build-system.py: WARNING: Couldn't work out the build system of chunk Module-Build-Tiny WARNING: Couldn't work out the build system of chunk Params-Validate Change-Id: I9bc5408e6550303023abb839a45e6562306e4702
| * Creation of Baserock definitions format specification repoSam Thursfield2016-02-2013-0/+1422
| | | | | | | | | | This contains: - textual description of the Baserock definitions format, and the list of changes since version 0, taken from: git://baserock.branchable.com/ - migrations and schemas taken from git://git.baserock.org/baserock/baserock/definitions.
* Speed up migration 008Pedro Alvarez2016-03-271-10/+27
| | | | | | | | | | Given that the script already needs access to the Trove git.baserock.org, use it to read the .gitmodules files without cloning the repositories. Also, avoid creating a 'submodules' field when .gitmodules is empty. Change-Id: I7587587e35b5f52251503fe52af92114fbad4644
* Add migration tool for definitions version 8. Allows for explicitlyDan Firth2016-02-261-0/+220
| | | | | | | declared submodule url translation in chunks with known submodules. Updated schema to match Change-Id: I26d141940cf32810cd9045e9a3c4065e35f7c8a3
* Move content to migrations directoryPaul Sherwood2016-02-2113-0/+1422