- update to version 0.7.6 * Handle connection error when fetching skills meta data * Fix is_dirty when path is missing. * Fix skill name when using from_folder * Fix curate skills list * Dirty property to check if skill is modified * Return empty dict instead of None from get_skill_entry * Use in-place dict creation * Define skills_data_hash in __init__ * Update hash after saving file * Raise instead of ignoring non-revertable errors * Fix python dependency installation * Add lazy as requirement in setup.py * Add pyyaml to setup.py - take upstream tarball to launch at least some tests - removed patch fix-skills-directories.patch * apparently incorrect, it was breaking tests OBS-URL: https://build.opensuse.org/request/show/706363 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msm?expand=0&rev=18
23 lines
842 B
Diff
23 lines
842 B
Diff
Index: msm-0.7.6/msm/skill_entry.py
|
|
===================================================================
|
|
--- msm-0.7.6.orig/msm/skill_entry.py
|
|
+++ msm-0.7.6/msm/skill_entry.py
|
|
@@ -327,6 +327,8 @@ class SkillEntry(object):
|
|
setup_script = join(self.path, "requirements.sh")
|
|
if not exists(setup_script):
|
|
return False
|
|
+ LOG.info("Please check manually the requirements file at " + requirements_file)
|
|
+ return False
|
|
|
|
with work_dir(self.path):
|
|
rc = subprocess.call(["bash", setup_script])
|
|
@@ -505,6 +507,8 @@ class SkillEntry(object):
|
|
else:
|
|
LOG.info('Nothing new for ' + self.name)
|
|
return False
|
|
+ LOG.info("Please check manually the setup script at " + setup_script)
|
|
+ return False
|
|
|
|
@staticmethod
|
|
def find_git_url(path):
|