1. 30 Oct, 2019 3 commits
  2. 29 Oct, 2019 3 commits
  3. 25 Oct, 2019 10 commits
  4. 24 Oct, 2019 5 commits
  5. 22 Oct, 2019 1 commit
  6. 19 Oct, 2019 2 commits
    • Exclude nested items (#784) (#1464) · 3a39e5ac
      * This PR impliments the feature request #784.
      
      When a folder is explicit defined in `pyproject.toml` as excluded, all nested data, including subfolder, are excluded. It is no longer neccessary to use the glob `folder/**/*`
      
      * use `Path` instead of `os.path.join` to create string for globbing
      
      * try to fix linting error
      
      * create glob pattern string by concatenating and not using Path
      
      * using `os.path.isdir()`` for checking of explicit excluded name is a folder, because pathlib's `is_dir()` raises in exception under windows of name contains globing characters
      
      * Remove nested data when wildcards where used.
      
      Steps to do this are:
      1. expand any wildcard used
      2. if expanded path is a folder append  **/* and expand again
      
      * fix linting
      
      * only glob a second time if path is dir
      
      * implement @sdispater 's suggestion for better readability
      
      * fix glob for windows?
      
      * On Windows, testing if a path with a glob is a directory will raise an OSError
      
      * pathlibs  glob function doesn't return the correct case (https://bugs.python.org/issue26655). So switching back to  glob.glob()
      
      * removing obsolete imports
      finswimmer committed
  7. 18 Oct, 2019 6 commits
  8. 14 Oct, 2019 2 commits
  9. 13 Oct, 2019 1 commit
  10. 12 Oct, 2019 3 commits
  11. 11 Oct, 2019 4 commits
    • Improve files metadata in lock files (#1460) · b1c4c68d
      Co-authored-by: adisbladis <adisbladis@gmail.com>
      Sébastien Eustace committed
    • * check if relative filename is in excluded file list (#1459) · 3622f8e4
      * * check if relative filename is in excluded file list
      * removed find_excluded_files() method from wheel.py
      
      * added test for excluding files in wheels
      
      * creating an own test data folder, for testing excluding files by pyproject.toml
      
      * use as_posix() to respect windows file path delimiters
      finswimmer committed
    • Resolve git refs to git revisions [#1331] (#1337) · 72806dd4
      * Check that a git dependency resolves to a revision
      
      A git dependency should be resolved to a full git revision (SHA-1).
      When dealing with a git dependency, this is the only way to lock
      the dependency in-place (because revisions are immutable).
      
      * Check that a pinned git dependency resolves to a revision
      
      There are three mutually exclusive parameters that can be used to
      pin a git dependency: `branch`, `tag`, and `rev`.  Since they all
      can be moving targets, they should be resolved to a full git
      revision (SHA-1) to ensure a proper in-place lock.
      
      This change highlights bug #1331 and currently fails.
      
      * Make sure a git reference resolves to a revision
      
      Do not lock a git dependency to a named reference but to a full
      git revision instead.  This ensures reproducibility and security
      as git revisions are immutable.
      
      Fixes: #1331
      Borjan Tchakaloff committed