Wykres commitów

763 Commity (python-3.8-tests)

Autor SHA1 Wiadomość Data
Jorge Senín ebeeb6824b Show a message when no apps installed
I think it is better to say that there is no app in the system instead of returning nothing
2019-11-24 03:22:18 +01:00
Rui Carmo 68351f56b8 Merge branch 'master' of github.com:piku/piku 2019-11-21 13:51:14 +00:00
Rui Carmo fefff34127 Add link to new roadmap 2019-11-21 13:51:10 +00:00
Rui Carmo b018a8b321
Fix typo 2019-11-21 13:39:22 +00:00
Rui Carmo 37b334509c move image to DESIGN. 2019-11-21 13:38:42 +00:00
Rui Carmo d60f4d44da Moved old text to prep for CONTRIBUTING and GOALS as per #134 2019-11-21 13:35:04 +00:00
Rui Carmo 288c8c5e7a Document current flake8 settings (discussed in #95) 2019-11-21 13:21:05 +00:00
dWiGhT 8ee8632782
doc: add badges to README
this is the start of adding badges to show the state and condition of the repo.

https://www.freecodecamp.org/news/how-to-use-badges-to-stop-feeling-like-a-noob-d4e6600d37d2/
2019-11-20 15:41:15 -08:00
Rui Carmo 56d4e8bd91 reinstate gzip_disable 2019-11-20 19:41:04 +00:00
Rui Carmo f689992e50 pyflake8 changes 2019-11-20 19:37:37 +00:00
Rui Carmo 135c771a1f Keep pyflake happy for now 2019-11-20 19:27:20 +00:00
Rui Carmo 173600aa13 Allow longer lines for inlining SSH entries 2019-11-20 19:25:58 +00:00
Rui Carmo 28ec78ad47 Remove Internet Explorer 6 gzip disable 2019-11-20 19:23:41 +00:00
Rui Carmo 2afa655f72
Update pylint.yml 2019-11-20 19:19:50 +00:00
Rui Carmo d647311878
Update pylint.yml 2019-11-20 19:15:38 +00:00
Rui Carmo 15e6a81cbf
Merge pull request #128 from jsenin/master
Do not process empty lines or commented at Procfile
2019-11-20 19:12:04 +00:00
Rui Carmo 8320b297e6
Update pylint.yml 2019-11-20 19:10:00 +00:00
Rui Carmo cb10116f79
Merge pull request #135 from chr15m/fix-http-socket-dup
Fix clashing HTTP ports in uwsgi deploy.
2019-11-20 19:05:43 +00:00
Rui Carmo 5523595a73
Merge branch 'master' into fix-http-socket-dup 2019-11-20 19:05:26 +00:00
Rui Carmo 2f8a573aa2
Update pylint.yml 2019-11-20 19:03:38 +00:00
Rui Carmo d01242eeab
Update pylint.yml 2019-11-20 19:01:20 +00:00
Rui Carmo 4480ca415e
Update pylint.yml 2019-11-20 19:00:58 +00:00
Rui Carmo 4108ae0f2c
Update pylint.yml 2019-11-20 18:58:36 +00:00
Rui Carmo 26cf27abde
Update pylint.yml 2019-11-20 18:56:37 +00:00
Rui Carmo b495a9e9bc
Update pylint.yml 2019-11-20 18:47:22 +00:00
Rui Carmo 9e3636c028
Update pylint.yml
switch to black
2019-11-20 18:44:44 +00:00
Rui Carmo 2f1c815512
Merge branch 'master' into master 2019-11-20 18:42:50 +00:00
Rui Carmo aac4f058d0
Create pylint.yml
Adds a GitHub Action to run pylint
2019-11-20 18:38:49 +00:00
dWiGhT bacd437b8a
Merge branch 'master' into cleanupimports 2019-11-20 10:11:23 -08:00
dWiGhT a93b471d67 build: lite cleanup of pylint results (#141) 2019-11-20 08:28:02 +00:00
dWiGhT 85c9e08bd1 build: ignore IntelliJ files 2019-11-19 15:49:14 -08:00
dWiGhT 30fda8e59b build: removed unused imports 2019-11-19 15:49:01 -08:00
Jorge Senín 93d291887a Extend cli commands with plugins
Added a search for plugins modules that contains a `def get_commands()` that returns a clic.Command object. This object is merged with others commands to populate the cli.

An example file that should be placed at `~/.piku/plugins/postgres/__init__.py`

```
import click

@click.group()
def postgres():
    """Postgres command plugin"""
    pass

@postgres.command("postgres:create")
@click.argument('name')
@click.argument('user')
@click.argument('password')
def postgres_create():
    """Postgres create a database"""
    pass

@postgres.command("postgres:drop")
@click.argument('name')
def postgres_drop():
    """Postgres drops a database"""
    pass

@postgres.command("postgres:import")
@click.argument('name')
def postgres_drop():
    """Postgres import a database"""
    pass

@postgres.command("postgres:dump")
@click.argument('name')
def postgres_drop():
    """Postgres dumps a database SQL"""
    pass

def cli_commands():
    return postgres
```
2019-11-19 23:54:04 +01:00
Chris McCormick 5ddb3619a2 Fix clashing HTTP ports in uwsgi deploy. #125 2019-11-19 17:10:13 +08:00
Jorge Senín 666f871bc9 Remove trailing spaces (#133) 2019-11-19 08:09:08 +00:00
Jorge Senín 7a3f89cfa5 Do not process empty lines or commented at Procfile 2019-11-19 08:34:41 +01:00
Jorge Senín 6f0468008a Add piku help command, and support sort and large arguments -h and --help (#131) 2019-11-18 21:33:01 +00:00
dWiGhT 0d9815fdcb improvement: `piku apps` marks running apps w/ * (#132)
* improvement: `piku apps` marks running apps w/ *

```
🍺 $ piku apps
*myapp1
 sample
*myapp2
```

* Update piku.py
2019-11-18 21:30:39 +00:00
dWiGhT f6130db815 improvement: added optional <process> to logs also hid INTERNAL cmds. (#126)
* improvement: added an optional <process> to logs also hide INTERNAL stuff

* Update INSTALL.md

* Update piku.py
2019-11-17 20:51:24 +00:00
Chris McCormick 60da61456e piku-bootstrap subcommand to install piku cli. (#121)
* piku-bootstrap subcommand to install piku cli.

Fixes #120

* Documenting new simpler install methods.
2019-11-13 17:57:34 +00:00
Chris McCormick 5d79013e05 Fix detection order of app type + deps. (#123)
This is an alternative fix to #111.
2019-11-13 17:57:04 +00:00
Chris McCormick 953b299ab1 Include nodeenv installed binaries. (#117) 2019-11-13 17:56:07 +00:00
Chris McCormick 1d8fac8583 Documented AUTO_RESTART var. (#119) 2019-11-13 17:55:16 +00:00
Chris McCormick 4046f9ac77 Documentation improvements. (#122) 2019-11-13 17:54:41 +00:00
Chris McCormick 69976bc7dc Warn if Ansible fails to install (#115)
* Check git is available or warn user. Fixes #112.

* Warn if Ansible fails to install. Fixes #113
2019-10-24 08:11:28 +01:00
Chris McCormick fabe77f264 Check git is available or warn user. Fixes #112. (#114) 2019-10-24 08:11:12 +01:00
Chris McCormick e7654ff930 Removing java-spark-app as per #99. (#110) 2019-10-06 19:45:25 +01:00
John Simiyu 817f912994 Enhancement closes #101 (#109) 2019-10-06 13:54:23 +01:00
Chris McCormick 21003f0fc3 Clojure integration (#108)
* Clojure Support

Conflicts:
	piku.py

* Tweaks to get Clojure deploy working.

 * Allows user to install lein binary into ~/bin
 * Simplifies Clojure re-build sequence

* Bootstrap playbooks for lein + Java.
2019-09-29 18:43:07 +01:00
Chris McCormick b9f6a37a09 Remove git-hooks from cli help. (#107)
Fixes #105.
2019-09-29 09:56:03 +01:00