| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iaa1572cf3d5fd7baf96d2084f7194953bede634c
|
|
|
|
|
|
|
|
|
|
|
| |
Extensions will now be given a path to a clone of the checkout
rather than a path to the checkout itself. This prevents untracked
modifications and protects any data the user might have in the
checkout dirs from the extensions themselves. It also helps prevent
a possible bug where the extension corrupts a checkout so that on
the second import the result differs from the first import.
Change-Id: I95d551a02aa77d665ba07fb7ed5b01be330e24d4
|
|
|
|
|
|
|
| |
If we're using an external tool to resolve dependencies then
we may be want to ignore the version field.
Change-Id: Ic41f5b5ac080a5e9a0b4e1b0607464faabb1ec94
|
|
|
|
|
|
|
|
|
| |
With this packages can pass metadata to their dependencies (children)
by putting the path to the parent's foreign-dependencies file into
the child's environment. This provides a flexible means for
extensions to pass around extra data where necessary.
Change-Id: I6446d02abd1a8d703c8ff88fe12b92345a0ee461
|
|
|
|
|
|
| |
This should make it easier to search through a wider range of tag formats.
Change-Id: Ie124a054d55b4a8800f11479e0389c16c97c53a8
|
|
|
|
| |
Change-Id: I6ee07010fad5164c9a3a3d40f0b951a6c9d676f1
|
|
|
|
| |
Change-Id: I86d38e0116fc8b95dcd20c1d52b1b801cf16466c
|
|
|
|
| |
Change-Id: I38dc72c2348883abea56bd58a3195df4dc197c8a
|
|
|
|
|
|
|
|
|
| |
Most CPAN distributions can be installed with a standard
set of commands so we don't want to generate chunk morphs
for each chunk.
This also fixes stratum build dependency generation
Change-Id: Ica51721b9b3809f91b8016c959202694d4bc6ea7
|
|
|
|
|
|
|
|
|
| |
Morph runs extensions in a separate mount namespace
by default, but constructing this namespace requires
root privileges. The import tool has no need for a
separate mount namespace, so this commit disables it.
Change-Id: I952885860100453e4a531589b6acca7e5dc31435
|
|
|
|
| |
Change-Id: I53d655e09726b57abb69e04264ef685f26519356
|
|
|
|
|
|
| |
This fixes the tool so that it can find refs such as foobar-1.4.0 when
the version has been passed as 1.4 and refs such as foobar-1.4 when the version
has been passed 1.4.0
|
| |
|
|
|
|
|
|
| |
This lets the importer specify how package names will be compared,
to do this the importer optionally supplies a callback, if no callback
is supplied then the tool will default to == for string comparison.
|
|
|
|
|
|
| |
This is helpful for discovering when messages are being put on stderr,
we're collecting messages on stderr, but these could come from different
subprocesses leading to a confusing mixture of error messages.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously if we got a BaserockImportException which contained a '%' in
the message, you'd see this...
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 190, in
_run
self.process_args(args)
File "/src/import/baserockimport/app.py", line 102, in process_args
super(BaserockImportApplication, self).process_args(args)
File "/usr/lib/python2.7/site-packages/cliapp/app.py", line 539, in
process_args
method(args[1:])
File "/src/import/baserockimport/app.py", line 185, in import_rubygems
loop.run()
File "/src/import/baserockimport/mainloop.py", line 176, in run
self.app.status(str(e), error=True)
File "/src/import/baserockimport/app.py", line 105, in status
text = msg % args
TypeError: not enough arguments for format string
|
|
|
|
|
|
|
| |
This isn't a perfect fix. If this situation occurs the tool will
generate an invalid stratum and the user will need to rename one of
the chunks. But this is a better than what would have happened before:
one of the chunks would have been silently ignored.
|
| |
|
|
|
|
|
| |
I think this makes the output a bit clearer to follow. Maybe. It's hard
to know these things until it's too late.
|
|
|
|
|
|
| |
I think this makes it clearer what the tool is actually doing, and
hopefully makes it clearer what the user should do in cases where the
tool couldn't determine which ref to use and reports an error.
|
|
|
|
|
| |
Sometimes this is due to weird version requirements caused by some other
package which isn't actually needed.
|
|
|
|
|
| |
This should be useful when a couple of components raise errors but
you know that you don't need them anyway.
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
We should be able to trust it, since we literally just generated it.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Finally the repo starts to look a little more tidy!
|
|
|