aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-08 00:28:19 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-08-11 11:28:14 +0100
commit4ec2431fe3278bfd16feb1970b4aeb1d150fab54 (patch)
tree0b5c4ca6ae41b0a169a4cbf59111b8c0f9e146e9
parente36280922a75b64c153f8ec0f2e590057c90fe8f (diff)
downloadopenembedded-core-contrib-4ec2431fe3278bfd16feb1970b4aeb1d150fab54.tar.gz
Move layers import script to tools subdirectory
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--TODO1
-rwxr-xr-xlayerindex/tools/import_wiki_layers.py (renamed from layerindex/import.py)3
2 files changed, 3 insertions, 1 deletions
diff --git a/TODO b/TODO
index 47185d95a6..ea9b3c694c 100644
--- a/TODO
+++ b/TODO
@@ -21,7 +21,6 @@ Later:
* Dynamic loading/filtering for recipes list
* Some way to notify the user when they search for something that has been renamed / replaced / deprecated?
* Create simple script to check for unlisted layer subdirectories in all repos
-* Move import script to utils/ subdir
* Are we going to need some way of indicating forks of another layer? (would rather avoid having forks altogether...)
* Auto-detect more values from github pages?
* Ability for submitters to get email notification about publication?
diff --git a/layerindex/import.py b/layerindex/tools/import_wiki_layers.py
index cb4a770cc3..f9f945755d 100755
--- a/layerindex/import.py
+++ b/layerindex/tools/import_wiki_layers.py
@@ -10,6 +10,9 @@
import sys
import os.path
+
+sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '..')))
+
import optparse
import re
import utils