Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  bin
  cleanup
  gns_pipeline_cleaner.egg-info
  PKG-INFO
  Pipfile
  Pipfile.lock
  README.md
  requirements.txt
  setup.cfg
  setup.py
Size: Mime:
  README.md

Temorary Files Deletion

Removing files from a list in a YAML configuration file.

Requirements

  • Python 3

Installation

python3 -m pip install gns-pipeline-cleaner --extra-index-url https://pypi.fury.io/genesort/

Configuration file

  • The configuration file should be in YAML format, and the configurations for this tool should be defined under the 'CLEANUP' namespace.
  • The module's configuration file should contain a list of the file names that aimed to be removed as the value of the variable 'TRASH_FILES'.
  • Note that in order to use patterns with symbols such as asterix the pattren has to be double quoted (since the file is YAML formatted).
  • If any variable in the configuration file is defined on the OS environment, the envirnonment variable will be taken over the one on the configuration file.

Usage

$ pipeline-cleanup -c <pathToYAMLConfig> -d <pathToCleanupDirectory>

Contact

Idan Budin idanb@genesort.com