From e730cfec55bbdad5ebc93e815afb371b0aeaf29a Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 22 Apr 2020 21:45:36 +0200 Subject: [PATCH] Boot out a 0.0.9 release --- CHANGELOG.md | 41 +++++++++++++++++++++++------------------ distribusi/cli.py | 14 ++++++++------ setup.py | 2 +- 3 files changed, 32 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b300882..b6e5cc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,28 +2,33 @@ The changelog was only added at version 0.0.4. +## 0.0.9 + +- Fix thumbnail generation (thanks @dickreckard!) +- Adjust formatting for usage output + ## 0.0.8 -* Allow to ignore hidden directories with `--no-hidden` -* Files and directories are now sorted during distribusification. -* Allow to append `index.html` to the menu items with `--menu-with-index` +- Allow to ignore hidden directories with `--no-hidden` +- Files and directories are now sorted during distribusification. +- Allow to append `index.html` to the menu items with `--menu-with-index` ## 0.0.7 Let's think a bit about safety and robustness: -* distribusi only overwrites (or removes) indexes that have been created by distribusi itself -* override the above behaviour with `--force` -* `--exclude` now allows you to exclude folder names from being listed, this behaviour is not influenced by `--force` +- distribusi only overwrites (or removes) indexes that have been created by distribusi itself +- override the above behaviour with `--force` +- `--exclude` now allows you to exclude folder names from being listed, this behaviour is not influenced by `--force` And also some refactoring and niceties: -* Distribusi only prints when called with `--verbose` -* Restyled `--verbose` output -* Generated indexes can be removed with `--remove-indexes` -* .html and .txt files are now expanded and included as snippets in the index file -* code rewrite for clarity -* HTML output is more precisely styleable +- Distribusi only prints when called with `--verbose` +- Restyled `--verbose` output +- Generated indexes can be removed with `--remove-indexes` +- .html and .txt files are now expanded and included as snippets in the index file +- code rewrite for clarity +- HTML output is more precisely styleable ## 0.0.6 @@ -31,12 +36,12 @@ Woops, we missed that one. ## 0.0.5 -* Use loose bounds for dependencies -* Don't call exiftools on every execution -* If `PILLOW` can't thumbnail an image it is included as a link instead +- Use loose bounds for dependencies +- Don't call exiftools on every execution +- If `PILLOW` can't thumbnail an image it is included as a link instead ## 0.0.4 -* Add captions from EXIF metadata -* Custom stylesheet usage -* Ability to hide filenames +- Add captions from EXIF metadata +- Custom stylesheet usage +- Ability to hide filenames diff --git a/distribusi/cli.py b/distribusi/cli.py index 8d8520e..ac63c48 100644 --- a/distribusi/cli.py +++ b/distribusi/cli.py @@ -5,13 +5,15 @@ from distribusi.distribusi import distribusify def build_argparser(): - parser = argparse.ArgumentParser(""" + parser = argparse.ArgumentParser( + """ distribusi is a content management system for the web that produces static - index pages based on folders in the files system. - It is inspired by the automatic index functions featured in several popular web - servers. distribusi works by traversing the file system and directory hierarchy - to automatically list all the files in the directory, detect the file types and - providing them with relevant html classes and tags for easy styling.""") + index pages based on folders in the files system. It is inspired by the + automatic index functions featured in several popular web servers. + distribusi works by traversing the file system and directory hierarchy to + automatically list all the files in the directory, detect the file types + and providing them with relevant html classes and tags for easy styling. + """) parser.add_argument( '-d', '--directory', help="Select which directory to distribute", default="." diff --git a/setup.py b/setup.py index 290fb9f..915d0fe 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open('README.md', 'r') as handle: setup( name='distribusi', - version='0.0.8', + version='0.0.9', url='https://git.vvvvvvaria.org/varia/distribusi', license='GPLv3', author='Varia',