1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-04 16:01:15 -05:00
Commit Graph

212 Commits

Author SHA1 Message Date
8d1d2933e8 added test to ensure shortcuts in config.yml
This patch adds a simple test to ensure that 'shortcuts' is part of
the config.yml
2018-11-21 15:25:31 -08:00
e3964c5426 added exit if missing config file 2018-11-21 15:23:06 -08:00
5717504f11 Added reading of a config file
This patch adds support to read a ~/.aprsd/config.yml file.
If one doesn't exist, it puts out an example yaml string to stdout
that can be copied into a file and edited.

Since this patch adds a new external requirement (pyyaml) you need
to re-install the app for dev with
pip install -e .
2018-11-21 15:20:11 -08:00
craigerl
b3435c0053 update readme 2018-11-21 14:39:32 -08:00
craigerl
c36b14b4de update readme 2018-11-21 14:38:33 -08:00
craigerl
8390419292 sanitize readme 2018-11-21 14:14:57 -08:00
craigerl
d98af66dba readme again again 2018-11-21 14:13:03 -08:00
craigerl
20c43b4e85 readme again again 2018-11-21 14:11:43 -08:00
craigerl
5ac718dfab readme again 2018-11-21 14:05:45 -08:00
craigerl
d3e5d35d1c readme 2018-11-21 14:04:34 -08:00
craigerl
d61c90e2b7 Merge branch 'master' of https://github.com/craigerl/aprsd 2018-11-21 14:02:03 -08:00
craigerl
4a8181ce30 readme update 2018-11-21 14:01:14 -08:00
Craig Lamparter
74db4098ac
Merge pull request #4 from hemna/pypi
First stab at migrating this to a pypi repo structure
2018-11-21 13:57:02 -08:00
9299da6bde Merge branch 'pypi' of https://github.com/hemna/aprsd into pypi 2018-11-21 13:56:46 -08:00
ecd797d91e First stab at migrating this to a pytpi repo
This patch does some refactoring of the code and the directory
structure to conform to the needs of a pypi project.
The python code now lives in the aprsd directory so it acts like a real
python package that can be installed/included/used.
The aprsd.py is now aprds/main.py

This patch also adds support for using pbr, which enables a consistent
bin install that you can then call as 'aprsd' from the command line.

To use this as a developer you should create a virtualenv
virtualenv .venv
source .venv/bin/activate
pip install -e .

now you can edit the aprds/main.py and then test it by immediately
running aprsd from the command line.

The -e option for pip allows you to install the package as an editable
package in the .venv, so you can hack on it and not need to re-install
every time you make a change.
2018-11-21 13:56:29 -08:00
a2b5908b16 First stab at migrating this to a pytpi repo
This patch does some refactoring of the code and the directory
structure to conform to the needs of a pypi project.
The python code now lives in the aprsd directory so it acts like a real
python package that can be installed/included/used.
The aprsd.py is now aprds/main.py

This patch also adds support for using pbr, which enables a consistent
bin install that you can then call as 'aprsd' from the command line.

To use this as a developer you should create a virtualenv
virtualenv .venv
source .venv/bin/activate
pip install -e .

now you can edit the aprds/main.py and then test it by immediately
running aprsd from the command line.

The -e option for pip allows you to install the package as an editable
package in the .venv, so you can hack on it and not need to re-install
every time you make a change.
2018-11-21 13:38:45 -08:00
Craig Lamparter
126a718318
Merge pull request #3 from hemna/master
Added password, callsign and host
2018-11-21 13:04:58 -08:00
ca888685c5 Added password, callsign and host
This patch adds the cli options for setting the host, password
and the base callsign
2018-11-21 13:03:28 -08:00
Craig Lamparter
a8385c6f97
Merge pull request #2 from hemna/master
Cleaned up trailing whitespace
2018-11-21 12:58:15 -08:00
8b61116fce Added argparse for cli options
This patch adds the argparser to collect the user/callsign
from the command line, so it doesn't have to be hard coded.

It can be passed on the command line or set
in an environment var
python aprsd.py --user KCAMEL1

or

export APRS_USER=KCAMEL1
python aprsd.py
2018-11-21 12:55:14 -08:00
craigerl
174da13dda comments 2018-11-21 12:45:13 -08:00
60fa3ffcd4 Cleaned up trailing whitespace 2018-11-21 12:41:49 -08:00
craigerl
7dc1c5d8fd add tweaked fuzzyclock 2018-11-21 12:37:54 -08:00
craigerl
d9caac64d7 make tn a global 2018-11-21 12:34:40 -08:00
Craig Lamparter
26ca8563f9
Merge pull request #1 from hemna/master
Added standard python main()
2018-11-21 11:58:56 -08:00
6ba6e14fdb Added standard python main()
This patch adds the standard python main() and
the requisite test for the script name.
2018-11-21 11:56:35 -08:00
craigerl
8a1c5e0db2 tweaks to readme 2018-11-21 11:48:39 -08:00
craigerl
f3e386c485 drop virtenv on first line 2018-11-21 11:45:20 -08:00
craigerl
19e747d3dc sanitize readme a bit more 2018-11-21 11:38:45 -08:00
craigerl
b6356ce901 sanitize readme a bit more 2018-11-21 11:37:48 -08:00
craigerl
de6ca53fc8 sanitize readme 2018-11-21 11:34:22 -08:00
craigerl
f1d25c06aa added weather and location 3 2018-11-21 11:32:55 -08:00
craigerl
2fbc0e305c added weather and location 2 2018-11-21 11:31:54 -08:00
craigerl
7b74138cba added weather and location 2018-11-21 11:29:15 -08:00
craigerl
48036f9ffd mapme 2018-06-13 09:21:53 -07:00
craigerl
555f9f3512 Merge branch 'master' of https://github.com/craigerl/aprsd 2018-06-13 09:07:32 -07:00
craigerl
149580e8c4 de-localize 2018-06-13 09:07:09 -07:00
Craig Lamparter
7cfde54250
Update README.md 2018-06-13 09:05:57 -07:00
Craig Lamparter
e74fd4fd6d
Update README.md 2018-06-13 09:05:38 -07:00
Craig Lamparter
e3a18417f1
Update README.md 2018-06-13 09:04:05 -07:00
Craig Lamparter
34d4da8f0d
Update README.md 2018-06-13 09:03:45 -07:00
craigerl
fcef0195b0 de-localize 2018-06-13 08:58:56 -07:00
craigerl
aa184a34ac
Update README.md 2017-10-31 15:01:21 -07:00
craigerl
04269b39ba
Update README.md 2017-10-31 15:00:31 -07:00
craigerl
230cf45359
Update aprsd.py 2017-10-31 13:12:26 -07:00
craigerl
471af76595
Add files via upload 2017-10-31 13:11:36 -07:00
craigerl
821a34b12d
Update README.md 2017-10-31 10:43:36 -07:00
craigerl
2330523853
Update aprsd.py 2017-10-31 10:36:50 -07:00
craigerl
134a5558d4
Update README.md 2017-10-31 10:35:47 -07:00
craigerl
d9b9fd9a47
Update README.md 2017-10-31 10:35:04 -07:00