Commit graph

52 commits

Author SHA1 Message Date
eeba5c5bae updated dockstrings for docker, got rid of TODO in django/coverage 2024-01-10 07:10:00 +02:00
f281062060 updated all docstrings, moved some files around, fixed a TODO in the coverage task so now it will check if coverage exists 2024-01-10 04:56:59 +02:00
76c1e80c1d updated django.coverage docstrings, and raised errors if the directories are not correct 2024-01-10 03:56:08 +02:00
cdd0464a3e updated local.generated 2023-11-14 17:49:47 +02:00
ce6df87b85 updated files to use 'core' as main django app 2023-10-11 14:53:54 +03:00
c3f680d3c9 updated django.manage so that if working dir is false, then the second section only gets executed under the elese, whereas if working dir was true, the second section got executed anyway 2023-08-10 22:46:14 +03:00
9b73b9653d updated django.edit so taht if coverage is not being used for this project/branch, it won't throw an error looking for it 2023-07-17 09:05:20 +03:00
4ae41d9ed7 added error checking to django.coverage so that if no value is passed in to application, the program sends a message and exits 2023-07-09 21:29:55 +03:00
e218dc827c changed the types in docstrings 2023-07-09 21:11:13 +03:00
252443c073 refactored utils.handle_help to have better docstrings and renamed to be acalled handle_flag_message 2023-07-08 22:23:09 +03:00
69f644c763 added docs as a subdirectory 2023-07-07 19:12:26 +03:00
ce52403b15 got rid of debugging code 2023-07-07 18:03:07 +03:00
25cc12b89d fixed a probem with modules.utils import virtualenv so it now calls customfabric.modules... also fixed an annoying invalid escape sequence \[ bug by turning it into a raw string. finally got rid of an unneeded variable 'settings_coveragepath' 2023-07-07 17:33:55 +03:00
9db3b58139 made modules/django to work with relative import 2023-07-07 16:25:23 +03:00
940ef17a7d updated django and initialize so it creates the relative path using layout.fabric.root/layout.fabric.home, got rid of paths.tools.fabric.full and replaces paths.tools.fabric.relative with just paths.tools.fabric 2023-07-07 15:47:02 +03:00
1267e91976 changed django configuration for settings that it inserts the relative path in layout that has this fabric implementation 2023-07-07 15:11:40 +03:00
868ca7984e updated django.coverage so it forces the user to specify which application it is using, also added docstrings to django.contrib 2023-07-07 09:11:44 +03:00
45ba1ac426 added methods to use coverage in both the initialize and django modules, including in django.edit, a helper test method to see if coverage is specified in the virtual env file for the branch, and commented out code in the virtual env. also django.coverage directly checks the configuration file coverage branch which will be there if coverage is specified in the virutalenv file for the branch 2023-07-04 03:13:23 +03:00
0063989ba5 fixed bug in django.coverage that was caused because django.manage has to at least call on the test module when being used otherwise if I don't pass it anything it blows up 2023-07-04 02:17:35 +03:00
f740981bd5 modified coverage so it no longer uses help as an argument, and prefix and suffix in manage are empty strings instead of None bc that was giving an error 2023-07-03 23:33:39 +03:00
b92c025f75 updated coverage to look for the coverage.rc file as setup.cfg in share/coverage and the print out htmlcov in share/coverage 2023-07-03 23:19:11 +03:00
eb66e2a1bf added a method to automate python converage in the django module 2023-07-03 23:06:29 +03:00
bc57729538 added python-version variable 2023-05-22 15:44:17 +03:00
15370c4a28 got rid of some unnecessary regex in the fixtures function 2020-08-31 20:16:33 +03:00
a5fb86f5cc fixed the create_project command so it allows the opiton of overwriting the old backup (if exists) or stopping the process 2019-11-03 17:42:52 +02:00
Ronny Abraham
01c122ffcb update django manage so it has better info on debug 2019-06-21 14:53:12 +03:00
Ronny Abraham
dd797c3a77 add generated to list of editable files 2019-06-02 22:52:21 +03:00
Ronny Abraham
a380f55dba some changes to fixtures code 2019-03-28 14:35:54 +02:00
Ronny Abraham
b961dad932 updated generate so it creates a generated local file that is imported by the normal local file 2019-02-12 01:21:05 +02:00
Ronny Abraham
16f43982a0 update django generate local settings os that it copies over internally generated values from the project files rather than directly connecting. this means ALL projects need to be updated wihenever project configuraiton settings are changed 2019-02-09 23:48:04 +02:00
Ronny Abraham
2dffeaa1b9 fixed the startapp and manage so that startapp does not create a directory (leads to an error) and instead added arg to manage to specify working directory where the manage command would be run in 2018-11-09 11:27:28 +02:00
Ronny Abraham
8dab351ce6 add logging 2018-11-01 01:34:30 +02:00
Ronny Abraham
ebb0e6fdbe updated edit to use log files 2018-10-25 20:37:15 +03:00
Ronny Abraham
4eba2cbf5a updating for python3 2018-10-18 12:45:07 +03:00
Ronny Abraham
a5677a96a0 updated print funcs 2018-10-17 23:08:51 +03:00
Ronny Abraham
a97698ae9a fixed print statements to be in python3 2018-10-17 22:48:54 +03:00
Ronny Abraham
33b11f3df8 added help message to django.generate 2018-10-16 03:42:26 +03:00
Ronny Abraham
b93ea8e259 fixed some print statement to be python3 compatible 2018-10-16 03:14:10 +03:00
Ronny Abraham
18871417e1 Merge branch 'master' of bitbucket.org:ronnyabraham/fabric 2017-11-09 00:34:05 +02:00
Ronny Abraham
2237dd4856 added help message for django.startapp 2017-11-09 00:33:30 +02:00
Ronny Abraham
2c19ba589b updated help message
modified:   modules/django.py
2017-08-28 23:53:26 +03:00
Ronny Abraham
f86404d634 added some debugging code in generate_gunicorn
Changes to be committed:
	modified:   ../../../modules/django.py
2016-09-21 17:11:34 +03:00
Ronny Abraham
c6c062b333 modified: modules/django.py 2016-09-21 16:20:32 +03:00
Ronny Abraham
595f1ba09d changed name of commandline method
modified:   modules/django.py
2016-09-20 18:41:18 +03:00
Ronny Abraham
829b1d3cb0 got rid pyc file 2016-09-08 19:41:55 +03:00
Ronny Abraham
23da1736ee added some debug checking in gunicorn generate
modified:   modules/django.py
2016-09-07 22:03:10 +03:00
Ronny Abraham
f1a4da7553 added check_app method, and fixtures method from debates_eu
modified:   modules/django.py
2016-09-07 21:52:40 +03:00
Ronny Abraham
c1fc497547 added extendedname variable to gunciorn generation
modified:   modules/django.py
2016-09-07 21:51:47 +03:00
Ronny Abraham
f54fbac637 fixed param issue with gunicorn in script generator
modified:   modules/django.py
2016-09-07 20:46:37 +03:00
Ronny Abraham
cf2cc845bc changes to fabric
modified:   modules/database.py
	modified:   modules/django.py
	modified:   modules/initialize.py
	modified:   modules/utils.py
2016-09-06 18:53:13 +03:00