2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 21:19:00 +00:00
Commit Graph

2097 Commits

Author SHA1 Message Date
Kelvin zawala
7b8f16bcb4
Get-app from port specific ssh git server (#1299)
* Get-app from port specific ssh git server

Current bench package fails to get an app from a private git server with a specific ssh port other than the normal 22.

* test: Added tests for ssh ports

Co-authored-by: Aradhya Tripathi <67282231+Aradhya-Tripathi@users.noreply.github.com>
Co-authored-by: Aradhya <aradhyatripathi51@gmail.com>
2022-05-03 17:22:10 +05:30
Gavin D'souza
31d9de4dec ci: Remove install script tests
The script has been untested and unmaintained for a while. We've asked
for help in maintenance but nobody seems to want to undertake it.

With newer versions of distros and packages coming out each day, setups
get more and more volatile. Making these tests run in the CI don't
reflect how it would go down irl as no server comes with the same base
config. Apart from the base sanity, these tests are just a waste of
carbon. Removing them.
2022-04-28 11:03:25 +05:30
Ritwik Puri
eb715735bb
fix: Misc fixes (#1294)
* fix: use better api endpoint for is_valid_frappe_branch

* fix: dont allow appnames starting with number and/or dot in them

* fix: dont convert response to json

* fix: using ls-remote to check for valid branches

* refactor: changed the message displayed on invalid branch and invalid frappe path

Co-authored-by: Aradhya <aradhyatripathi51@gmail.com>
Co-authored-by: Aradhya Tripathi <67282231+Aradhya-Tripathi@users.noreply.github.com>
2022-04-27 20:17:04 +05:30
Ankush Menat
d4ae743d10
chore: remove VM links (#1300)
[skip ci]
2022-04-21 13:05:13 +05:30
Aradhya Tripathi
c8ef8224d4
fix: fixed org, branch for apps mounted on disk (#1293)
* fix: fixed org, branch for apps mounted on disk

* fix: DRY-er code

* fix: fixed loading apps when use_ssh is true

* fix: removed flaky tests to test dependencies

* fix: removed exception if app not found in frappe or erpnext org

* fix: remote server

* test: Updated tests

fix: tests

* fix: raise when org is not found

* fix: setup requirements

* fix: falling back to original method of mounted app initialization if git repo isn't found
2022-04-19 22:31:51 +05:30
gavin
eb7e006bc4
Merge pull request #1291 from ChillarAnand/gh
fix: Check for unauthorised status code in response
2022-04-12 10:52:51 +05:30
ChillarAnand
e9b0112a9c fix: Check for unauthorized status code in response 2022-04-06 12:05:58 +05:30
gavin
30d472dc6b
Merge pull request #1257 from Aradhya-Tripathi/dependency-resolution
feat: Resolve and install
2022-04-05 11:11:32 +05:30
Aradhya
281d96ac16 fix: Fixed order of install 2022-04-04 23:42:52 +05:30
Aradhya
a1a35eed0e feat: Added support for backward compatibility in states 2022-04-02 15:41:21 +05:30
Aradhya
339875b2b1 refactor: added message while raising invalidremote exception 2022-04-02 15:05:24 +05:30
Aradhya
3ac19ca4c6 refactor: not sorting apps to maintain order of install 2022-04-01 11:34:10 +05:30
Aradhya
dbb19046df fix: checking status code to determine rate limit 2022-03-28 23:36:01 +05:30
Aradhya
bd105a6609 perf: caching deps and orgs, repos to avoid time taking checks & added slower version to check org and repo 2022-03-28 21:02:38 +05:30
Aradhya
4441528d3f style: black-ish code 2022-03-28 21:00:41 +05:30
Aradhya
ff98aaf198 fix: reverted erroneous commits 2022-03-27 17:21:27 +05:30
Aradhya
4252b1100e test: updated tests 2022-03-27 16:54:30 +05:30
Aradhya
fc0be250c2 feat: Exiting when app does not exist 2022-03-26 23:40:55 +05:30
Aradhya
2f17da1bf0 fix: support for local and remote apps when looking for dependencies 2022-03-26 00:06:17 +05:30
Aradhya
61a864de11 fix: merge conflicts 2022-03-25 23:01:19 +05:30
Aradhya
0b862c0745 feat: Added support for mounted app in get_dependencies 2022-03-25 22:27:58 +05:30
gavin
2bd3cfae07
Merge pull request #1287 from alyf-de/fix-required-apps
fix: support single required app
2022-03-24 09:57:14 +05:30
Aradhya Tripathi
8230ba6096
Merge branch 'develop' into dependency-resolution 2022-03-23 23:26:18 +05:30
Aradhya
3ec774946c refactor: Appropriate message for invalid version 2022-03-23 23:23:37 +05:30
barredterra
c8205e485d fix: support single required app 2022-03-23 17:04:37 +01:00
Aradhya
cd583f7822 refactor: Added messages on invalid remote exceptions 2022-03-23 18:20:49 +05:30
Aradhya
ddd498ebd0 feat: Added exception for invalid version 2022-03-23 18:18:37 +05:30
gavin
1337f9c1a5
Merge pull request #1285 from ankush/dev_setup
fix: setup all apps is empty list is supplied
2022-03-22 13:08:50 +05:30
Ankush Menat
7ab469af84 fix: setup all apps is empty list is supplied 2022-03-22 12:51:29 +05:30
Aradhya
b28cfab550 fix: add code removed via erroneous commit 2022-03-21 23:58:52 +05:30
Aradhya
d514f84d5f merge: merged develop into dependency-resolution 2022-03-21 21:50:24 +05:30
gavin
8abdbf2ce7
Merge pull request #1281 from gavindsouza/better-user-messages
fix: setup supervisor
2022-03-21 15:32:34 +05:30
Aradhya Tripathi
dd97c430a2
Merge branch 'develop' into dependency-resolution 2022-03-21 14:54:23 +05:30
Aradhya
67638b19b7 refactor: added ignore resolution to ignore messages in install app 2022-03-21 14:52:04 +05:30
Gavin D'souza
ea947523b3 fix(find): Handle OS' PermissionError 2022-03-21 13:38:04 +05:30
Gavin D'souza
af14bafe21 fix(restart): Setup restarts vars with fallback 2022-03-21 13:37:16 +05:30
Aradhya
bbca3e9fab feat: mimicking get-app behaviour when app is already installed 2022-03-20 22:15:41 +05:30
Gavin D'souza
fc7c047c28 fix: Allow sudo restart for supervisor (backwards compatibility) 2022-03-17 15:04:22 +05:30
Gavin D'souza
7a4ade9192 fix: Try setting supervisord conditionally 2022-03-17 13:03:04 +05:30
Gavin D'souza
d89f19e02e fix: Show better user messages when failed to update supervisord 2022-03-17 12:58:05 +05:30
Gavin D'souza
ad000f1be7 fix: Don't handle BaseExceptions 2022-03-17 11:41:57 +05:30
Gavin D'souza
d33d987b2c fix: User messages on get-app actions 2022-03-17 11:41:34 +05:30
gavin
e57b37f52b
Merge pull request #1280 from gavindsouza/misc-fixes-0
fix: Misc fixes
2022-03-17 10:57:26 +05:30
Gavin D'souza
d38b63a483 fix: mkdir -p to ignore OSErrors
Closes https://github.com/frappe/bench/issues/1279
2022-03-17 10:23:41 +05:30
Gavin D'souza
25f49c2dbb fix: Respect bench config during restart
Fixes https://github.com/frappe/bench/issues/1261
2022-03-17 10:23:34 +05:30
saxenabhishek
d0bd294dc2 feat: slower alternative for get_required_deps 2022-03-14 05:33:44 +05:30
saxenabhishek
adbe19ac1b docs: is_valid_frappe_branch() docstring 2022-03-14 05:17:29 +05:30
saxenabhishek
8dd92c32b1 feat: alternative request to validate branch 2022-03-14 05:17:08 +05:30
Aradhya
bb16b73358 test: Updated tests 2022-03-11 18:38:21 +05:30
saxenabhishek
9ac091b4d9 feat: add required and order of install 2022-03-11 14:12:31 +05:30