summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Strata contain "chunks", not "sources"Sam Thursfield2012-08-291-2/+2
| | | | Rename "sources" field of stratum morphologies to "chunks".
* Break long lineLars Wirzenius2012-08-281-1/+2
|
* Expand TAB charactersLars Wirzenius2012-08-281-41/+41
|
* scripts/clean-git-cache: Fix 2 small issuesSam Thursfield2012-08-231-2/+4
| | | | | 1) print message if no unused gits were found 2) avoid eating baserock:morphs repository every time
* Add scripts/clean-git-cacheSam Thursfield2012-08-221-0/+238
| | | | | | | This removes local repository clones that are not referenced by anything in the baserock:morphs repository. It would be useful for Morph to do this itself in the long term.
* Add scripts/clean-artifact-cacheSam Thursfield2012-08-221-0/+94
| | | | | | | | | | | | This removes all but the latest build of a chunk from the cache, which can free up a significant amount of disk space for large chunks. Ideally Morph should handle cleaning up the artifact cache itself, there are some ideas floating around including using git to store the artifacts; either way, reference counting items in the cache and only requiring the user to manually delete the final system images when they are no longer required is probably the best way.
* python scripts: pep8ize codebaseRichard Maw2012-08-013-13/+14
| | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* fix tabs and line widths so ./check passesRichard Maw2012-06-142-11/+11
|
* tests: fix missing baserock meta filesRichard Maw2012-06-141-0/+5
| | | | | This adds the ability to do this to the script, and fixes use of the script to add the new parameter.
* tests: fix some that expected tarball strataRichard Maw2012-06-141-0/+53
| | | | | | | This required functionality to create a tarball from a json file. This should probably be rewritten as a morph plugin and refactor it to consolidate the creation logic, so e.g. the stratum metadata is kept.
* tests: verify overlaps are written to the cacheRichard Maw2012-06-141-0/+44
| | | | | | | This adds a new script called list-overlaps, which when given a json dump of the overlap can be used to query what is overlapping The tests use this script to check that the overlaps are detected
* scripts/list-tree: work with busybox findRichard Maw2012-05-141-1/+21
| | | | | | busybox's find doesn't support -printf, so build that string in shell to keep compatibility with old scripts, convert the type to the expected short form
* Refactor tests/*.script to use scripts/test-morph instead of tests/morphLars Wirzenius2012-03-271-0/+4
|
* Add helper script for cleaning up test outputLars Wirzenius2012-03-233-14/+43
| | | | | | This refactors what scripts/test-morph did into its own helper script, so that we can use it elsehwere. Then use it for scripts/run-git-in too.
* Create dummy git repositories for morphs, helloLars Wirzenius2012-03-221-0/+25
|
* Filter out $DESTDIR from morph outputLars Wirzenius2012-03-221-2/+20
|
* Fix tree listing to include path for each nameLars Wirzenius2012-03-221-1/+1
|
* Add testing helper for listing contents of directory treesLars Wirzenius2012-03-221-0/+25
|
* Add helper script for cmdtest scripts to run morph withLars Wirzenius2012-03-221-0/+21
| | | | | | This is like tests/morph, but not in the tests directory, so that it's easier to use from multiple tests directories. We're about to get another one, at least temporarily.
* Fix copyright year checking in ./check to not fail with uncommitted filesLars Wirzenius2012-03-221-0/+8
|
* formatting: fix overly wide codeRichard Maw2012-03-191-1/+2
|
* check: fix copyright script for merge commitsRichard Maw2012-03-191-5/+3
| | | | | | | | | | The last commit of a file can be a merge Merge commits have their date on a different line because it displays information about which branches merged Instead of relying on this fragile 'porcelain' format, specify that we only want the last commit's committer date and split the year from that output
* Add script to check years in copyright statements against git commit datesLars Wirzenius2012-02-271-0/+86