public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-89-gb44d6da Date: Thu, 07 Sep 2017 18:30:00 -0000 [thread overview] Message-ID: <20170907183054.71453.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=b44d6da5c9b87e64c882729fce52e139b5c91641 commit b44d6da5c9b87e64c882729fce52e139b5c91641 Author: Yaakov Selkowitz <yselkowi@redhat.com> Date: Thu Sep 7 18:19:37 2017 +0000 Update past_mistakes https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=73f7e6418929f51e0f96efec89500abb93c97589 commit 73f7e6418929f51e0f96efec89500abb93c97589 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Tue Aug 15 14:35:21 2017 +0100 Tolerate trying to delete non-existent files This avoids a crash if a !ready file is removed via sftp after calm has noticed it Diff: --- calm/past_mistakes.py | 17 ++++++++++++++++- calm/uploads.py | 5 ++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/calm/past_mistakes.py b/calm/past_mistakes.py index c79c0c0..ab925a1 100644 --- a/calm/past_mistakes.py +++ b/calm/past_mistakes.py @@ -107,16 +107,30 @@ self_source = [ nonunique_versions = [ 'bzr-debuginfo', # debuginfo from NMU needs to age out 'cgdb-debuginfo', # debuginfo from NMU needs to age out + 'dolphin', # split out from kde-baseapps + 'dolphin4', # dropped from kde-baseapps + 'gcc-java', # dropped from gcc 6 'girepository-SpiceClientGtk2.0', # gtk2 dropped from spice-gtk 'gnome-panel-doc', 'gtk2.0-engines-svg', 'guile-doc', 'guile-gv', # dropped pending guile-2 'info', # something went wrong with package build? - 'libatomic_ops-devel', # separated out from libgc + 'kdepasswd', # dropped from split kde-baseapps + 'kdialog', # split out from kde-baseapps + 'keditbookmarks', # split out from kde-baseapps + 'kexi', # split out from calligra + 'kfind', # split out from kde-baseapps + 'kfilereplace', # split out from kdewebdev 'khelpcenter', # split out from kde-runtime + 'kimagemapeditor', # split out from kdewebdev + 'klinkstatus', # split out from kdewebdev + 'konqueror', # split out from kde-baseapps + 'konqueror-devel', # split out from kde-baseapps + 'libatomic_ops-devel', # separated out from libgc 'libcaca-doc', # dropped pending fix for current doxygen 'libfltk-doc', + 'libgcj-common', # dropped from gcc 6 'libical_cxx-devel', 'libquota-devel', # no longer provided by e2fsprogs 'libturbojpeg', # no number means it isn't considered an old soversion @@ -126,6 +140,7 @@ nonunique_versions = [ 'mutter-doc', 'ocaml-camlp4', # ocaml-camlp4 removed from ocaml distribution after 4.01.0 'ocaml-gv', # dropped pending ocaml cleanup + 'okular4-part', # changed to okular5-part in 17.04 'python-clang', # split out from clang 'python3-clang', # split out from clang 'python-spiceclientgtk', # gtk2 dropped from spice-gtk diff --git a/calm/uploads.py b/calm/uploads.py index 61a3d04..a8a2660 100644 --- a/calm/uploads.py +++ b/calm/uploads.py @@ -242,7 +242,10 @@ def remove(args, remove): for f in remove: logging.debug("rm %s", f) if not args.dryrun: - os.unlink(f) + try: + os.unlink(f) + except FileNotFoundError: + logging.error("%s can't be deleted as it doesn't exist" % (f)) #
reply other threads:[~2017-09-07 18:30 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20170907183054.71453.qmail@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).