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-48-ge42ceb9
Date: Wed, 15 Feb 2017 15:01:00 -0000	[thread overview]
Message-ID: <20170215150146.100759.qmail@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=e42ceb97ff04952223dfcdc56df5046a3d78f74a

commit e42ceb97ff04952223dfcdc56df5046a3d78f74a
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Feb 15 14:55:19 2017 +0000

    Follow symlinks when reading packages
    
    Our instructions for making a custom Cygwin package server rely on that.


Diff:
---
 calm/package.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/calm/package.py b/calm/package.py
index 41c97c6..5d58ddc 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -86,7 +86,7 @@ def read_packages(rel_area, arch):
         releasedir = os.path.join(rel_area, root)
         logging.debug('reading packages from %s' % releasedir)
 
-        for (dirpath, subdirs, files) in os.walk(releasedir):
+        for (dirpath, subdirs, files) in os.walk(releasedir, followlinks=True):
             read_package(packages, rel_area, dirpath, files)
 
         logging.debug("%d packages read" % len(packages))


                 reply	other threads:[~2017-02-15 15:01 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=20170215150146.100759.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: link
Be 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).