| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
This is cool because now you can import Ruby on Rails.
|
| | |
|
| |
| |
| |
| |
| | |
This should be useful when a couple of components raise errors but
you know that you don't need them anyway.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By calling Bundler::Dsl.gemspec without specifying :path, this tool
was causing the Bundler::Source::Path instance for the target .gemspec
to be for path '.', which is relative path that is only valid inside
one Dir.chdir block. It seems that all the Bundler resolution code runs
inside that block and so there should be no problem, but unless we
specify an absolute path for the gemspec then errors like this sometimes
appear:
/usr/lib/ruby/gems/2.0.0/gems/bundler-1.7.6/lib/bundler/resolver.rb:357:in
`resolve': Could not find gem 'ffi-yajl (>= 0) ruby' in source at ..
(Bundler::GemNotFound)
Source does not contain any versions of 'ffi-yajl (>= 0) ruby'
This normally happens when an Omnibus import chains to rubygems.to_chunk
for a RubyGem component.
The path is clearly valid at the time Bundler::Dsl.gemspec is called
(otherwise it'd raise a Bundler::InvalidOption exception at the time)
but not valid later (hence the error). Note that the second '.' in that
error message is a full stop and not part of the path!
|
| |
| |
| |
| |
| |
| | |
Previously it was hardcoded to just look for rubygems deps, which has
an obvious flaw. It now looks for all types of dependencies that were
enabled with enable_importer().
|
| |
| |
| |
| |
| |
| |
| | |
It's now in the 'ruby' stratum, so the import tool can ignore it.
The build-dependency-whitelist field is now empty, and I'm not sure
it's actually useful to have it but I won't remove the code yet.
|
|/
|
|
|
|
|
| |
This avoids a situation where `bundle install` expects a bunch of stuff
to exist in /usr or /home but you have since moved the repo around.
Installing stuff in /usr is not recommended in Baserock because it gets
lost on upgrades (and /usr will one day be read only, I expect).
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was caused by a mistake in:
commit c8e156fe181c8e62fda9f9a999af1f0a0980a0ce
Author: Sam Thursfield <sam.thursfield@codethink.co.uk>
Date: Mon Nov 17 17:20:00 2014 +0000
Don't force the generated stratum through morphloader validation
We should be able to trust it, since we literally just generated it.
|
|\
| |
| |
| | |
Thanks to Richard Maw for finding most of these issues.
|
| | |
|
| |
| |
| |
| | |
There's no need for quite so many subshells.
|
| |
| |
| |
| | |
We should be able to trust it, since we literally just generated it.
|
|/ |
|
|
|
|
|
|
|
|
| |
Code for this was taken from Morph's setup.py file.
It would possibly be more correct to install these files into a
subdirectory of /usr/libexec but it'd be a more complex solution for
little actual benefit.
|
|
|
|
| |
Now data/ actually gets installed too.
|
| |
|
|
|
|
|
|
|
| |
If we create the definitions-dir we also initialise it as a Git repo,
now.
I also deleted a no-longer-needed hack.
|
| |
|
|
|
|
|
| |
This version of the import tool requires morph.git commit
6779e46e880eec757a6923441accef2442007677 or newer.
|
|
|
|
|
|
| |
It's slightly annoying during development, but the exts/ must be inside
the package or it would be installed somewhere silly like
/usr/lib/python2.7/site-packages/exts.
|
| |
|
| |
|
|
|
|
| |
Finally the repo starts to look a little more tidy!
|
| |
|
|
|
|
|
|
|
| |
Use \ for multiline strings in Ruby instead of +.
Change 'raise Exception' to just 'raise', because Exception is the
default type.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This means that the tool can work without requiring changes to Morph to
allow new fields in morphologies. It also makes it easier to throw away
the foreign dependency information once an import is complete.
The downside is that there are now 3 types of extension, not two, and
a lot of code needed factoring out into base classes (and more needs
factoring out still). There are now .to_lorry, .to_chunk and .find_deps
extensions.
|
|
|