summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix upsam/ruby-integration-oldSam Thursfield2014-09-031-0/+1
|
* import: Actually generates a working stratumSam Thursfield2014-09-031-17/+45
|
* import: Make ruby build commands actually construct the .gemSam Thursfield2014-09-021-3/+7
|
* import: Once again I did lots of things and they're all in one commitSam Thursfield2014-09-021-76/+127
|
* import: Fix some issues, start stratum writing codeSam Thursfield2014-09-011-10/+58
|
* import: rubygem.to_chunk: Make things work when there's no GemfileSam Thursfield2014-09-011-0/+6
|
* import: Fix logging in pluginsSam Thursfield2014-09-012-4/+6
|
* import: Sort hardoded Gem urls, remove two that are now fixedSam Thursfield2014-09-011-21/+12
|
* import: add logging support (also hoe url)Sam Thursfield2014-09-011-2/+19
|
* import: rubygems.to_chunk: use a fake Gemfile, not a real oneSam Thursfield2014-09-011-29/+57
|
* import: Fix a bunch of bugs, separate runtime and build depsSam Thursfield2014-09-011-8/+47
|
* WIP :(Sam Thursfield2014-08-271-7/+27
|
* import: rubygem.to_chunk WORK IN PROGRESSSam Thursfield2014-08-222-66/+75
|
* import: Add a bunch of hardcoded URLs to rubygem.to_lorrySam Thursfield2014-08-221-4/+36
| | | | | Also, allow the hardcoded URLs to override the one provided by the metadata in rubygems.org, because that is sometimes incorrect.
* import: Progress on RubySam Thursfield2014-08-221-7/+31
| | | | | | I have realised now that the tool needs to manually search for and load all gemspecs in the repo, because the Gemfile doesn't necessarily include them.
* import: Improve logging, add some temporary hacksSam Thursfield2014-08-213-43/+66
| | | | | These allow me to focus on getting the right source URLs for everything first off.
* import: Really use that logger in rubygem.to_chunkSam Thursfield2014-08-211-10/+28
|
* import: Format Ruby code according to https://github.com/styleguide/rubySam Thursfield2014-08-211-242/+242
| | | | This mostly consists of indenting things by 2 spaces.
* import: Add logging for pluginsSam Thursfield2014-08-212-96/+150
| | | | rubygem.to_chunk has changed a bit.
* import: Improve queue logic to track 'why did this get enqueued'Sam Thursfield2014-08-211-14/+65
| | | | | | | This is hopefully useful for when errors are encountered in packages that the user didn't expect the code to be importing. Just saying 'I had a problem with this package' isn't enough when the actual error may be further back, in the dependency detection.
* rubygem.to_chunk: Now does actually work!Sam Thursfield2014-08-191-95/+81
| | | | | | | | | However, the Gemfile for Rails lists a bunch of stuff that's perhaps required for all of Rails, but is *not* required for some of the Gems such as ActiveSupport. Is this a bug in Rails' Gemfile? Should we ignore the Gemfile and just look at the individual .gemspec files?
* import/main: Various fixesSam Thursfield2014-08-191-27/+76
|
* WIPSam Thursfield2014-08-193-10/+311
|
* Make source (to_lorry) and build (to_chunk) importersSam Thursfield2014-08-192-0/+145
|
* Use full name of GemSam Thursfield2014-08-191-1/+1
|
* Bake 2: add rubygem.import scriptSam Thursfield2014-08-191-0/+309
| | | | | | | | | | | | This generates a chunk morph for ONE gem defined in a given git repository. It has one known issue: where gems are nested in a source repo (as is the case in rails) they will not be found. The `bundle install` command does find them, so clearly something is up with the way I am hacking the 'bundler' library around. Also, there is lots of inheritance and method override hacking :(
* Add scripts/import-rubygem to generate morphologies for RubyGemsSam Thursfield2014-08-191-0/+189
| | | | | | | | | | This generates a stratum and a set of chunk morphologies for integrating a given RubyGem project into Baserock. It uses the 'bundler' Gem to collate the list dependencies. This means that it works for any Gem that has a "Gemfile", and will also honour the "Gemfile.lock" file created by Bundler if the file exists. It requires the new 'rubygem' build mode.
* Add 'rubygem' build modeSam Thursfield2014-08-192-4/+13
| | | | | | | | | | | | | | | This build mode honours the new 'gem-url' field. It downloads the Gem from the given URL Including code from random servers on the internet in your builds might mean that you can't reproduce what you build from source later on, because the file or even the whole server might be gone. Morph does nothing to prevent this, either for Git source code or Ruby Gems. The Trove server provides a way of mirroring Git repos on local infrastructure, so organisations can be certain they won't disappear later on and so that they are quicker to access. Trove does not yet provide a similar service for mirroring the required RubyGems.
* Allow inserting data in the build directorySam Thursfield2014-08-192-1/+22
| | | | Add staging_area.copy_file_to_build_dir() function. Use with care!
* Add optional 'gem-url' field in chunk morphologiesSam Thursfield2014-08-192-0/+3
| | | | | | | | This could just as easily be a generic 'extra-build-data' field, which could be used to download arbitrary files into the build chroot. Making it easier to include random data from the internet in builds is not really a step forward for a tool that tries to encourage reproducability from source, however.
* Merge branch 'baserock/straycat/distbuild-trivia'Sam Thursfield2014-08-181-30/+9
|\ | | | | | | | | Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
| * Rename for consistencyRichard Ipsum2014-08-141-10/+9
| |
| * Remove dead functionsRichard Ipsum2014-08-141-20/+0
| |
* | Merge branch 'baserock/franred/fixes-needed-for-organize-definitions'Francisco Redondo Marchena2014-08-152-26/+40
|\ \ | |/ |/| | | | | Reviewed by: Richard Maw <richard.maw@codethink.co.uk> Merged by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
| * Fix morphloader to unset_defaults for chunksFrancisco Redondo Marchena2014-08-151-2/+13
| |
| * Update morphloader_test.pyFrancisco Redondo Marchena2014-08-151-12/+13
| |
| * Set chunk static default to Nonebaserock/franred/fixes-needed-for-organize-definitionsFrancisco Redondo Marchena2014-08-151-12/+12
| |
| * Add system-integration to chunk _static_defaultsFrancisco Redondo Marchena2014-08-151-0/+1
| |
| * Add deploy-defaults before deploy in the MorphologyDumper keyorderFrancisco Redondo Marchena2014-08-151-0/+1
|/
* Merge branch 'baserock/richardmaw/james/writeexts_support_jetson'James Thomas2014-08-142-22/+83
|\ | | | | | | | | Reviewed by: Richard Maw <richard.maw@codethink.co.uk> Merged by: James Thomas <james.thomas@codethink.co.uk>
| * Merge remote-tracking branch 'origin/baserock/james/writeexts_support_jetson'baserock/richardmaw/james/writeexts_support_jetsonRichard Maw2014-08-122-22/+83
| |\
| | * Add support for a device tree to be set using DTB_PATHbaserock/james/writeexts_support_jetsonJames Thomas2014-08-031-0/+21
| | |
| | * Make bootloader config/install more genericJames Thomas2014-08-031-17/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the BOOTLOADER environment variable and instead favour BOOTLOADER_CONFIG_FORMAT to set the desired bootloader format, and BOOTLOADER_INSTALL to set the type of bootloader to install. For example, since u-boot can boot using extlinux.conf files, it's conceivable that someone might want to do CONFIG_FORMAT=extlinux.conf, INSTALL=u-boot. However, for most platforms you would want to set INSTALL to "none"
| | * Support setting a different root device using ROOT_DEVICEJames Thomas2014-08-031-2/+5
| |/
* | Merge branch 'baserock/adamcoldrick/remove-morph2-tweaked'Adam Coldrick2014-08-1450-2212/+1016
|\ \ | | | | | | | | | | | | Reviewed-by: Richard Maw
| * | Rename morph3 to morphologyAdam Coldrick2014-08-146-57/+57
| | | | | | | | | | | | | | | | | | Instead of leaving morph3 with a potentially confusing name, rename it to `morphology` since it is now the only implementation of the Morphology class.
| * | Revert "Ensure that none of the _orig_* fields are in the cache key"Adam Coldrick2014-08-141-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4124c50b8dc3dfb0ffb933153d0fe6385edf389c. This commit is no longer needed now that morph2 is gone. Conflicts: morphlib/cachekeycomputer.py
| * | Remove morph2 and its testsAdam Coldrick2014-08-143-705/+0
| | | | | | | | | | | | This commit removes the now unneeded morph2 and its associated tests.
| * | edit-morph: Use morphloader rather than morph2Adam Coldrick2014-08-141-52/+8
| | | | | | | | | | | | | | | | | | Update the edit-morph script used in the test suite to use morphloader for saving/loading morphologies rather than morph2. Also remove some unused code.
| * | cmdtests: Use YAML not JSON to represent morphologiesAdam Coldrick2014-08-1421-867/+549
| | |