Browse Source

Boot out a 0.0.9 release

master e730cfec55bbdad5ebc93e815afb371b0aeaf29a
Luke Murphy 4 years ago
parent
commit
e730cfec55
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 41
      CHANGELOG.md
  2. 14
      distribusi/cli.py
  3. 2
      setup.py

41
CHANGELOG.md

@ -2,28 +2,33 @@
The changelog was only added at version 0.0.4. 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 ## 0.0.8
* Allow to ignore hidden directories with `--no-hidden` - Allow to ignore hidden directories with `--no-hidden`
* Files and directories are now sorted during distribusification. - Files and directories are now sorted during distribusification.
* Allow to append `index.html` to the menu items with `--menu-with-index` - Allow to append `index.html` to the menu items with `--menu-with-index`
## 0.0.7 ## 0.0.7
Let's think a bit about safety and robustness: Let's think a bit about safety and robustness:
* distribusi only overwrites (or removes) indexes that have been created by distribusi itself - distribusi only overwrites (or removes) indexes that have been created by distribusi itself
* override the above behaviour with `--force` - override the above behaviour with `--force`
* `--exclude` now allows you to exclude folder names from being listed, this behaviour is not influenced by `--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: And also some refactoring and niceties:
* Distribusi only prints when called with `--verbose` - Distribusi only prints when called with `--verbose`
* Restyled `--verbose` output - Restyled `--verbose` output
* Generated indexes can be removed with `--remove-indexes` - Generated indexes can be removed with `--remove-indexes`
* .html and .txt files are now expanded and included as snippets in the index file - .html and .txt files are now expanded and included as snippets in the index file
* code rewrite for clarity - code rewrite for clarity
* HTML output is more precisely styleable - HTML output is more precisely styleable
## 0.0.6 ## 0.0.6
@ -31,12 +36,12 @@ Woops, we missed that one.
## 0.0.5 ## 0.0.5
* Use loose bounds for dependencies - Use loose bounds for dependencies
* Don't call exiftools on every execution - Don't call exiftools on every execution
* If `PILLOW` can't thumbnail an image it is included as a link instead - If `PILLOW` can't thumbnail an image it is included as a link instead
## 0.0.4 ## 0.0.4
* Add captions from EXIF metadata - Add captions from EXIF metadata
* Custom stylesheet usage - Custom stylesheet usage
* Ability to hide filenames - Ability to hide filenames

14
distribusi/cli.py

@ -5,13 +5,15 @@ from distribusi.distribusi import distribusify
def build_argparser(): def build_argparser():
parser = argparse.ArgumentParser(""" parser = argparse.ArgumentParser(
"""
distribusi is a content management system for the web that produces static distribusi is a content management system for the web that produces static
index pages based on folders in the files system. index pages based on folders in the files system. It is inspired by the
It is inspired by the automatic index functions featured in several popular web automatic index functions featured in several popular web servers.
servers. distribusi works by traversing the file system and directory hierarchy distribusi works by traversing the file system and directory hierarchy to
to automatically list all the files in the directory, detect the file types and automatically list all the files in the directory, detect the file types
providing them with relevant html classes and tags for easy styling.""") and providing them with relevant html classes and tags for easy styling.
""")
parser.add_argument( parser.add_argument(
'-d', '--directory', help="Select which directory to distribute", default="." '-d', '--directory', help="Select which directory to distribute", default="."

2
setup.py

@ -7,7 +7,7 @@ with open('README.md', 'r') as handle:
setup( setup(
name='distribusi', name='distribusi',
version='0.0.8', version='0.0.9',
url='https://git.vvvvvvaria.org/varia/distribusi', url='https://git.vvvvvvaria.org/varia/distribusi',
license='GPLv3', license='GPLv3',
author='Varia', author='Varia',

Loading…
Cancel
Save