All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lynn 'Cyrin' Conway <lynncyrin@gmail.com>
To: yocto@yoctoproject.org
Subject: [PATCH 2/3] MakeImageMD5s: delete file
Date: Mon,  9 Jun 2014 11:33:44 -0700	[thread overview]
Message-ID: <1402338825-20799-2-git-send-email-lynncyrin@gmail.com> (raw)
In-Reply-To: <1402338825-20799-1-git-send-email-lynncyrin@gmail.com>

REF: Bug ID 6354

The functionality of MakeImageMDs is being moved into PublishArtifacts.
Since MakeImageMD5s is no longer needed, this commit deletes it.

Signed-off-by: Lynn 'Cyrin' Conway <lynncyrin@gmail.com>
---
 .../autobuilder/buildsteps/MakeImageMD5s.py        |   42 --------------------
 1 file changed, 42 deletions(-)
 delete mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/MakeImageMD5s.py

diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/MakeImageMD5s.py b/lib/python2.7/site-packages/autobuilder/buildsteps/MakeImageMD5s.py
deleted file mode 100644
index 84839fb..0000000
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/MakeImageMD5s.py
+++ /dev/null
@@ -1,42 +0,0 @@
-'''
-Created on May 5, 2014
-
-__author__ = "Elizabeth 'pidge' Flanagan"
-__copyright__ = "Copyright 2012-2014, Intel Corp."
-__credits__ = ["Elizabeth Flanagan"]
-__license__ = "GPL"
-__version__ = "2.0"
-__maintainer__ = "Elizabeth Flanagan"
-__email__ = "elizabeth.flanagan@intel.com"
-'''
-
-from buildbot.steps.shell import ShellCommand
-from twisted.python import log
-import os, datetime
-from autobuilder.config import *
-
-class MakeImageMD5s(ShellCommand):
-    haltOnFailure = False
-    flunkOnFailure = True
-    name = "Make Image MD5s"
-    def __init__(self, factory, argdict=None, **kwargs):
-        self.factory = factory
-        self.description = "Making image md5sum file"
-        self.slavedir=os.path.join(os.path.join(YOCTO_ABBASE, "yocto-slave"))
-        for k, v in argdict.iteritems():
-            setattr(self, k, v)
-        self.timeout = 100000
-        kwargs['timeout']=self.timeout
-        ShellCommand.__init__(self, **kwargs)
-
-    def start(self):
-        DEST=self.getProperty("DEST")
-        buildername=self.getProperty("buildername")
-        command=""
-        if str(os.environ.get('PUBLISH_BUILDS')) == "True":
-            command = command + "for x in `find build/tmp/deploy/images -type f`; do "
-            command = command + "filenm=`basename $x`; md5sum $x >> $filenm.md5sum; done"
-        else:
-            command="echo 'Not publishing build, skipping step'"
-        self.command = command
-        ShellCommand.start(self)
-- 
1.7.9.5



  reply	other threads:[~2014-06-09 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09 18:33 [PATCH 1/3] buildset-config.master/*: change call to MD5 creation Lynn 'Cyrin' Conway
2014-06-09 18:33 ` Lynn 'Cyrin' Conway [this message]
2014-06-09 18:33   ` [PATCH 3/3] PublishArtifacts: add md5sums artifact Lynn 'Cyrin' Conway
  -- strict thread matches above, loose matches on Subject: below --
2014-06-09 18:51 [PATCH 1/3] buildset-config.master/*: change call to MD5 creation Lynn 'Cyrin' Conway
2014-06-09 18:51 ` [PATCH 2/3] MakeImageMD5s: delete file Lynn 'Cyrin' Conway
2014-06-04  1:03 [PATCH 1/3] buildset-config.master/*: change call to MD5 creation Lynn 'Cyrin' Conway
2014-06-04  1:03 ` [PATCH 2/3] MakeImageMD5s: delete file Lynn 'Cyrin' Conway

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1402338825-20799-2-git-send-email-lynncyrin@gmail.com \
    --to=lynncyrin@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.