-
Notifications
You must be signed in to change notification settings - Fork 0
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
1,003 changed files
with
238,077 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
couchpotato (3.0.1) stable; urgency=low | ||
|
||
* Initial release for ReadyNAS OS | ||
|
||
-- Mhynlo <[email protected]> Tue, 26 Jan 2016 23:46:16 -0700 |
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 @@ | ||
8 |
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,13 @@ | ||
Source: couchpotato | ||
Section: contrib | ||
Priority: extra | ||
Maintainer: Mhynlo <[email protected]> | ||
Build-Depends: debhelper (>= 8.0.0) | ||
Standards-Version: 3.9.6 | ||
Homepage: https://couchpota.to/ | ||
|
||
Package: couchpotato | ||
Architecture: all | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, readynasos (>= 6.1.0), php5-sqlite, python, git | ||
Description: CouchPotato | ||
Automatic Movie Downloading via NZBs & Torrents. |
Large diffs are not rendered by default.
Oops, something went wrong.
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,45 @@ | ||
#!/bin/sh | ||
# postinst script for sample1 | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
# summary of how this script can be called: | ||
# * <postinst> `configure' <most-recently-configured-version> | ||
# * <old-postinst> `abort-upgrade' <new version> | ||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
# <new-version> | ||
# * <postinst> `abort-remove' | ||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
# <failed-install-package> <version> `removing' | ||
# <conflicting-package> <version> | ||
# for details, see http://www.debian.org/doc/debian-policy/ or | ||
# the debian-policy package | ||
|
||
|
||
case "$1" in | ||
configure) | ||
mkhomedir_helper admin 027 | ||
chown -R admin:admin /apps/couchpotato | ||
if [ ! -d "/home/admin/.couchpotato" ]; then | ||
mkdir /home/admin/.couchpotato | ||
chown -R admin:admin /home/admin/.couchpotato | ||
fi | ||
event_push app readynasd '<add-s resource-type="LocalApp" resource-id="LocalApp"><LocalApp appname="couchpotato" success="1"/></add-s>' 0 0 | ||
;; | ||
abort-upgrade|abort-remove|abort-deconfigure) | ||
;; | ||
|
||
*) | ||
echo "postinst called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
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,39 @@ | ||
#! /bin/sh | ||
# postrm script for couchpotato | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
# summary of how this script can be called: | ||
# * <postrm> `remove' | ||
# * <postrm> `purge' | ||
# * <old-postrm> `upgrade' <new-version> | ||
# * <new-postrm> `failed-upgrade' <old-version> | ||
# * <new-postrm> `abort-install' | ||
# * <new-postrm> `abort-install' <old-version> | ||
# * <new-postrm> `abort-upgrade' <old-version> | ||
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> | ||
# for details, see /usr/share/doc/packaging-manual/ | ||
|
||
case "$1" in | ||
purge) | ||
rm -f /apps/couchpotato/* | ||
find /apps/couchpotato/* -maxdepth 0 -type 'd' | grep -v "app-config" | xargs rm -rf | ||
rm /apps/couchpotato/.localapp | ||
|
||
event_push app readynasd '<delete-s resource-type="LocalApp" resource-id="LocalApp"><LocalApp appname="couchpotato" success="1" reboot="0"/></delete-s>' 0 0 | ||
;; | ||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | ||
;; | ||
|
||
*) | ||
echo "postrm called with unknown argument \`$1'" >&2 | ||
exit 0 | ||
|
||
esac | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
|
||
#DEBHELPER# |
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,36 @@ | ||
#! /bin/sh | ||
# prerm script for sample1 | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
# summary of how this script can be called: | ||
# * <prerm> `remove' | ||
# * <old-prerm> `upgrade' <new-version> | ||
# * <new-prerm> `failed-upgrade' <old-version> | ||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> | ||
# * <deconfigured's-prerm> `deconfigure' `in-favour' | ||
# <package-being-installed> <version> `removing' | ||
# <conflicting-package> <version> | ||
# for details, see /usr/share/doc/packaging-manual/ | ||
|
||
case "$1" in | ||
remove|upgrade|deconfigure) | ||
systemctl stop fvapp-couchpotato.service | ||
systemctl disable fvapp-couchpotato.service || true | ||
;; | ||
failed-upgrade) | ||
;; | ||
*) | ||
echo "prerm called with unknown argument \`$1'" >&2 | ||
exit 0 | ||
;; | ||
esac | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
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 | ||
# -*- makefile -*- | ||
# Sample debian/rules that uses debhelper. | ||
# This file was originally written by Joey Hess and Craig Small. | ||
# As a special exception, when this file is copied by dh-make into a | ||
# dh-make output file, you may use that output file without restriction. | ||
# This special exception was added by Craig Small in version 0.37 of dh-make. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
export DH_ALWAYS_EXCLUDE=.git | ||
|
||
|
||
DESTDIR = $(CURDIR)/debian/couchpotato | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_install: | ||
mkdir $(DESTDIR)/apps $(DESTDIR)/apps/couchpotato $(DESTDIR)/apps/couchpotato/app-config | ||
cp -R pkg_files/* $(DESTDIR)/apps/couchpotato |
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 @@ | ||
[run] | ||
source= | ||
./couchpotato/ | ||
omit = | ||
./libs/* | ||
./node_modules/* | ||
[report] | ||
omit = | ||
*/python?.?/* | ||
./libs/* | ||
./node_modules/* |
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,16 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.py] | ||
indent_style = space | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,12 @@ | ||
*.pyc | ||
/data/ | ||
/_env/ | ||
/_source/ | ||
.project | ||
.pydevproject | ||
/node_modules/ | ||
/.tmp/ | ||
/.sass-cache/ | ||
.coverage | ||
coverage.xml | ||
nosetests.xml |
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,2 @@ | ||
[nosetests] | ||
where=couchpotato |
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,37 @@ | ||
language: python | ||
sudo: false | ||
python: | ||
# - "2.6" | ||
- "2.7" | ||
# - "3.2" | ||
# - "3.3" | ||
# - "3.4" | ||
# - "3.5" | ||
# - "3.5-dev" # 3.5 development branch | ||
# - "nightly" # currently points to 3.6-dev | ||
|
||
cache: | ||
pip: true | ||
directories: | ||
- node_modules | ||
- libs | ||
|
||
# command to install dependencies | ||
install: | ||
- npm install | ||
- pip install --upgrade pip | ||
- pip install coverage | ||
- pip install coveralls | ||
# disabled, since we don't require colors for tests on travis | ||
- pip install --upgrade nose | ||
# - pip install rednose | ||
|
||
- nosetests --plugins | ||
|
||
# command to run tests | ||
script: | ||
- grunt test | ||
- grunt coverage | ||
|
||
after_success: | ||
coveralls |
Oops, something went wrong.