Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Tree: 9733cbe89d
Commits on Nov 19, 2019
  1. Formatting clean-up and move to back to TravisCI.

    ruebot committed Nov 19, 2019
    - Run black, isort
    - Remove circleci setup
    - Update TravisCI config
Commits on Jan 17, 2019
  1. CLI: use argparse, clearer logging logic (#19)

    kba authored and ruebot committed Jan 17, 2019
    * optparse is deprecated, use argparse
    * logging logic was broken (logging to file could not be disabled / logging to console not be enabled)
    * set arg state defaults
    * add --version for bagit_profile version flag
    * add --report to print report after validation fails
    * add --skip-serialization to skip serialization validation
    * add --skip option to skip serialization or profile validation steps
    * support variant of constructor which doesn't require fetching URL
    * exits 1 for serialization error
    * exits 2 for validation error
    * unicode literals to make 27 happy
Commits on Dec 10, 2018
  1. 1.3.0

    ruebot committed Dec 10, 2018
  2. Profile version (#17)

    kba authored and ruebot committed Dec 10, 2018
    * Set defaults for Serialization and Allow-Fetch.txt if not explicitly provided
    * Support BagIt-Profile-Version, bagit-profiles/bagit-profiles-specification#16
    * re-enable tests blocked by bagit-profiles/bagit-profiles-specification#17
  3. Set defaults for Serialization and Allow-Fetch.txt if not explicitly …

    kba authored and ruebot committed Dec 10, 2018
    …provided (#15)
Commits on Dec 7, 2018
  1. Fixes edfc0de (#16)

    kba authored and ruebot committed Dec 7, 2018
    * update bagProfileBar.json with up-to-date spec example
    * make sure to check tag_file wildcards against bag basedir rel path
Commits on Dec 5, 2018
  1. Validate tag files allowed (#14)

    kba authored and ruebot committed Dec 5, 2018
    * bagit-profiles/bagit-profiles-specification#14
    * refactor validate function as a list of checks
    * Save the errors of the last run as a ProfileValidationReport on prop 'report'
    * basic implementation of tag-files-allowed validation, bagit-profiles/bagit-profiles-specification#14
    * test tag-files-allowed
    * fix find_tag_files to list only non-payload files
    * fetch.txt is a valid predefined tag file
Commits on Nov 16, 2018
  1. if a tag is not required and not present, don't check whether value i…

    kba authored and ruebot committed Nov 16, 2018
    …n 'values' (#13)
Commits on Nov 13, 2018
  1. 1.2.0

    ruebot committed Nov 13, 2018
  2. Check version numbers are strings, bagit-profiles/bagit-profiles-spec…

    kba authored and ruebot committed Nov 13, 2018
  3. 🎨 make code pretty (#11)

    kba authored and ruebot committed Nov 13, 2018
  4. Pass profile to constructor (#7)

    kba authored and ruebot committed Nov 13, 2018
    * fix python2-isms and pylint warnings
    * py2/py3 compatible call to urlopen
    * decode HTTP response body as utf8 in py3
    * replace logging/raise with self._fail
    * test.py: remove unused imports, indent
    * allow passing profile in constructor in addition to url
    * validate profile in constructor before assigning to self.profile
    * adapt URL in test, test assets, include in error message if not matching
Commits on Nov 12, 2018
  1. Update README.

    ruebot committed Nov 12, 2018
  2. fix python2-isms and pylint warnings (#5)

    kba authored and ruebot committed Nov 12, 2018
    * fix python2-isms and pylint warnings
    * py2/py3 compatible call to urlopen
    * decode HTTP response body as utf8 in py3
Commits on Nov 6, 2018
  1. 👷 add circle ci config, badge to pypi/ci in readme (#6)

    kba authored and ruebot committed Nov 6, 2018
Commits on May 23, 2017
  1. updates tag parameter validation logic (#4)

    helrond authored and ruebot committed May 23, 2017
    * updates bag-info.txt validation logic
    
    * updates version
Commits on May 13, 2017
  1. Adding support for checking repeatability parameter (#3)

    helrond authored and ruebot committed May 13, 2017
    * adds support for validating repeatable bag-info.txt elements
    
    * removes unnecesary library
Commits on Dec 5, 2013
  1. add license to setup

    ruebot committed Dec 5, 2013
  2. Fixing weirdness or @ruebot's stupidness.

    ruebot committed Dec 5, 2013
Commits on Oct 13, 2013
  1. Minor corrections to setup.py and READM.rst.

    mjordan committed Oct 13, 2013
Commits on Oct 12, 2013
  1. version bump to 1

    ruebot committed Oct 12, 2013
  2. Added test to test_validate_serialization() for zipped Bag.

    mjordan committed Oct 12, 2013
Commits on Oct 11, 2013
  1. Merge pull request #2 from MarcusBarnes/master

    mjordan committed Oct 11, 2013
    Update bagit_profile.py
  2. Update bagit_profile.py

    MarcusBarnes committed Oct 11, 2013
    mtype is a tuple.  Added index to test on first member of mtype tuple.
Commits on Sep 26, 2013
  1. need a manifest file to make setup happy about the readme

    ruebot committed Sep 26, 2013
  2. This should fix #1 (wait for me to update PyPi)

    ruebot committed Sep 26, 2013
Commits on Sep 2, 2013
  1. testing sphinx for readthedocs.org support

    ruebot committed Sep 2, 2013
Commits on Aug 8, 2013
  1. add an actual license file

    ruebot committed Aug 8, 2013
Commits on Mar 2, 2013
  1. version bump & tests should pass now

    ruebot committed Mar 2, 2013
  2. Updated value of BagIt-Profile-Identifier in test-foo/bag-info.txt to…

    mjordan committed Mar 2, 2013
    … match changes in bagit-profiles Github repo.
Commits on Feb 6, 2013
  1. fix long description for PyPI

    ruebot committed Feb 6, 2013
Older
You can’t perform that action at this time.