Commit graph

163 commits

Author SHA1 Message Date
5c75151f2b updated database files so that user and database names are put in quotes, also fixed some problems with pip 2025-04-23 20:12:29 +03:00
7c5299d186 updates 2025-04-22 16:52:07 +03:00
eeba5c5bae updated dockstrings for docker, got rid of TODO in django/coverage 2024-01-10 07:10:00 +02:00
e1fead6bee updated docsdtrings for pip and docker 2024-01-10 06:56:26 +02:00
9c00c3b10e updated pip.install command 2024-01-10 04:59:07 +02:00
e1332b7d00 fixed docstring in utils 2024-01-10 04:57:35 +02:00
3cd0f1a35d added an uninstall command as well as a check_package command 2024-01-10 04:57:26 +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
6afd1ee99b updated the database module to have better documentation 2023-07-20 14:49:03 +03:00
66c85782e8 modified utils.print_console so that it can have an exit option and give an exit code, also modified database.generate so that it can selectively generate one of the scripts if chosen, has better docutils and also prints a help message when asked 2023-07-20 13:10:28 +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
4bd33473f3 fixed a problem where I was importing modules.utils outside of a try block that would allow me to use customfabric.modules.utils - bc otherwise I can't create the sphinx docs 2023-07-13 15:24:53 +03:00
dbc5638eac using utils.ensure_dir in the conf_setup instead of running a bash command to make the needed directories for readmes and confs. also modified layout.yml because i wanted to separate the home name for the fabric install from the directory it's meant to be installed, and i had both on, so it was duplicating the home name, ie usr/bin/fabrichome/fabrichome 2023-07-12 12:42:35 +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
855bc7feb5 updated doc files 2023-07-08 22:33:05 +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
f53569cadc modified a bunch of docstrings and fixed up the arguments for ensure_dir and ensure_file 2023-07-08 21:26:58 +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
9484150903 made database and deploy import relative 2023-07-07 16:38:52 +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
7eb5c53fc7 got rid of placeholder for check_version def. also fixed up missing parenthesis by a print function 2023-07-07 15:25:00 +03:00
1c5599bd61 got rid of any code that references maintenance.loadconfiguration(fabric), this include the maintenance.check_version command which that load_configuration was meant to be used by 2023-07-07 15:23:22 +03:00
55e6c98075 updated docstrings that refer to fabric path by calling the head of the path 'fabric_local' 2023-07-07 15:16:11 +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
7ee75bef12 fixed template paths problem in initialize. was previously putting the general templates directory in the main root, moved it to share/templates 2023-06-06 22:08:33 +03:00
bc57729538 added python-version variable 2023-05-22 15:44:17 +03:00
2bf156a25b Merge branch 'master' of bitbucket.org:ronnyabraham/fabric 2023-05-18 15:41:06 +03:00
ec4730a7fd updated configuration.backup so it has a better description 2023-05-18 15:40:51 +03:00
b4954662d5 got rid of some dead code 2022-09-12 14:00:05 +03:00
dc564de0c1 fixed docker-compose so it's now 'docker compose' 2022-09-04 00:24:18 +03:00
dbc60c1cdc making it possible to add volumes to the docker section of the project file 2022-09-01 22:24:49 +03:00
d4b8859d91 some cleaning up of code in utils 2022-05-09 14:32:42 +03:00
a58e04db5f fixed an issue with deploy.bootstrap, cuz docker was creating a fully functioning database using admin as the owner, and so it wasn't adding ronny. Instead of making yet another script I decided to just drop the datbase, using the database.drop_db which only gets rid of the datbase and not any users, and then initialize it from there 2022-05-08 17:01:20 +03:00
8e0afa1133 had to reset allowed hosts to a type list, bc when it gets generated into the django settings file as a type set, it cannot be read by the django library 2022-05-08 16:50:21 +03:00
2f71995f39 changed django.allowed_hosts to type set from type list, bc I found that names were being duplicated in the allowedhosts, so I'm side stepping that by using set 2022-05-08 16:43:39 +03:00
9106127a16 removed database.init from deploy.bootstrap b/c the database was already getting initialized 2022-05-08 12:41:56 +03:00