-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
80 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
/venv | ||
|
||
*.py[cod] | ||
*.egg | ||
*.egg-info | ||
|
||
*.py[cod] | ||
/*.build | ||
/*.buildinfo | ||
/*.changes | ||
/*.deb | ||
/.cache | ||
/.coverage | ||
/.coverage.* | ||
/.tox | ||
/.cache | ||
/dist | ||
/build | ||
/cli/dist | ||
/cli/build | ||
/tmp | ||
/settings.py | ||
|
||
/cli/dist | ||
/dist | ||
/fluffy/static/**/*.hash | ||
/fluffy/static/app.css | ||
/fluffy/static/pygments.css | ||
/fluffy/static/**/*.hash | ||
/settings.py | ||
/tmp | ||
/venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Release process (server) | ||
|
||
1. Bump version in `fluffy/__init__.py` | ||
2. Run `make release` | ||
|
||
|
||
## Release process (cli) | ||
|
||
1. Bump version in `cli/fluffy_cli/__init__.py` | ||
2. cd to `cli` and use `dch` to update the Debian changelog | ||
3. Run `make release` and upload a new deb to GitHub releases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/*.debhelper | ||
/*.log | ||
/*.substvars | ||
/debhelper-build-stamp | ||
/files | ||
/fluffy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
fluffy (1.6.0) unstable; urgency=medium | ||
|
||
* Initial Debian release. | ||
|
||
-- Chris Kuehl <[email protected]> Fri, 19 Jan 2018 23:01:01 -0800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Source: fluffy | ||
Section: utils | ||
Priority: extra | ||
Maintainer: Chris Kuehl <[email protected]> | ||
Build-Depends: debhelper (>= 9) | ||
Standards-Version: 3.9.7 | ||
Vcs-Git: https://github.com/chriskuehl/fluffy | ||
Vcs-Browser: https://github.com/chriskuehl/fluffy | ||
Homepage: https://github.com/chriskuehl/fluffy | ||
|
||
Package: fluffy | ||
Architecture: all | ||
Depends: python3 | ||
Description: command-line tools for uploading to fluffy servers | ||
This package provides two command line scripts: fpb and fput. | ||
. | ||
fpb can be used to paste text to a fluffy server; fput is to upload files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/make -f | ||
VERSION = $(shell python -c 'import fluffy_cli; print(fluffy_cli.__version__)') | ||
|
||
%: | ||
# Specifying buildsystem manually because otherwise it tries to be | ||
# "smart" and use dh_python. | ||
dh $@ --buildsystem makefile | ||
|
||
override_dh_auto_build: ; | ||
|
||
override_dh_auto_test: ; | ||
|
||
override_dh_install: | ||
mkdir -p debian/fluffy/usr/bin | ||
cp fluffy_cli/main.py debian/fluffy/usr/bin/fpb | ||
# This is pretty janky... we don't want to distribute the entire Python | ||
# package (because the path will differ across distributions, e.g. | ||
# /usr/lib/python3.4/dist-packages vs 3.5 vs 3.6) so we just insert it into | ||
# the file | ||
sed -i "s/^from fluffy_cli import __version__$$/__version__ = '$(VERSION)'/" debian/fluffy/usr/bin/fpb | ||
ln -s fpb debian/fluffy/usr/bin/fput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (native) |