1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00
Commit graph

229 commits

Author SHA1 Message Date
Chris Vogel
ca71aea833 Merge pull request 'use_new_curl_n_getopts' (#61) from use_new_curl_n_getopts into testing
Reviewed-on: https://codeberg.org/flohmarkt/flohmarkt_ynh/pulls/61
2024-05-28 08:57:52 +00:00
Chris Vogel
c6a4096829 1st version that actually installed flohmarkt
This version installed flohmarkt successfully.

In _common.sh it overrides the yunohost core subroutines ynh_handle_getopts_args
and ynh_local_curl in preperation of extending ynh_local_curl to support all the
features I'd need in flohmarkt scripts (while hopefully maintaining backward
compatibility).
2024-05-28 10:54:23 +02:00
Chris Vogel
560221861c a corner case
```
the following cases need to be taken care of
'--arg=value'    → works
'--arg= value'   → works
'--arg=-value'   → works
'--arg= -v'      or
'--arg= --value' → works if not exists arg '[v]=value='
                 → $arg will be set to '-v' or '--value'
  but if exists '[v]=value=' this is not the expected behavior:
  → then $arg is expected to contain an empty value and '-v' or '--value'
    is expected to be interpreted as its own valid argument
  (found in use of ynh_replace_string called by ynh_add_config)
  solution:
  insert an empty arg into array arguments to be later interpreted by
  getopts as the missing value to --arg=
```

There's still missing to limit adding of an additional empty argument
only once when the actual argument fits the actual option_flag
2024-05-27 20:18:42 +02:00
Chris Vogel
59d2579bdf changed order of source …
yunohost helpers get included first so that I can overwrite them
from _common.sh
2024-05-26 19:47:35 +02:00
Chris Vogel
dc81581c1f added --line-match 2024-05-26 17:11:18 +02:00
Chris Vogel
afa2be87c8 gitignore 2024-05-26 16:35:12 +02:00
Chris Vogel
82725cc58b Merge pull request 'redesigned ynh_local_curl and ynh_handle_getopts_args' (#60) from curl_devel into testing
Reviewed-on: https://codeberg.org/flohmarkt/flohmarkt_ynh/pulls/60

work in preperation for https://codeberg.org/flohmarkt/flohmarkt_ynh/issues/51
2024-05-26 12:57:04 +00:00
Chris Vogel
108be10c41 test script not needed anymore (hopefully) 2024-05-26 14:53:21 +02:00
Chris Vogel
047af9605c new versions of ynh_local_curl and ynh_handle_getopts_args
included in _common.sh as

* flohmarkt_ynh_handle_getopts_args and
* flohmarkt_ynh_local_curl

to be tested.

Added some simple debugging sub to easily switch on and off my debugging output.
2024-05-26 14:49:18 +02:00
Chris Vogel
1c1b5c9a38 pof for ynh_handle_getopts_args 2024-05-23 14:25:28 +02:00
Chris Vogel
a3f0e5339b work on curl and getopts
intermediate
2024-05-22 17:44:51 +02:00
Chris Vogel
e8625977a7 fixed small problems 2024-05-19 13:51:00 +02:00
Chris Vogel
55554fd0fc
Merge pull request #17 from YunoHost-Apps/master
Merge pull request #16 from YunoHost-Apps/testing
2024-05-17 10:58:22 +02:00
Chris Vogel
fd18937f4c
Merge pull request #16 from YunoHost-Apps/testing
/path doesn't work - disabled
2024-05-17 10:53:44 +02:00
Chris Vogel
76c804fd15 disable install.path - doesn't work 2024-05-17 08:46:59 +02:00
Chris Vogel
1a04ffcfaf
Merge pull request #15 from YunoHost-Apps/master
Merge pull request #13 from YunoHost-Apps/testing
2024-05-16 13:03:19 +02:00
Chris Vogel
d32575780a
Merge pull request #13 from YunoHost-Apps/testing
…finally
2024-05-16 12:55:11 +02:00
Chris Vogel
93b7ec25b8 still found errors on the way to ynh5 2024-05-15 21:15:09 +02:00
Chris Vogel
9d893b688e check for old db(user), added information
information added about the state of the integration
Release candidate for ynh5
2024-05-15 20:48:18 +02:00
Chris Vogel
f1bfdd1283 changed logfile path and added symlinks
issue #49
2024-05-15 13:38:45 +02:00
Chris Vogel
5e4c3fdd39 small corrections during backup/restore tests 2024-05-15 13:30:26 +02:00
Chris Vogel
664e7475f1 fixed 2 syntax errors 2024-05-15 07:50:15 +02:00
Chris Vogel
935a8e7844 1st time working backup/restore
:)
2024-05-14 20:40:51 +02:00
Chris Vogel
ef2b69ecc2 correct couchdb-dump.sh call 2024-05-14 14:24:13 +02:00
Chris Vogel
01a864eef1 export/import couchdb 1st try 2024-05-14 14:13:41 +02:00
Chris Vogel
74f40685b5 french description, added yunohost service remove 2024-05-14 09:53:23 +02:00
Chris Vogel
b7292ff44e debugging added
find reason for warnings
2024-05-13 12:29:10 +02:00
Chris Vogel
f15fda5567 Merge branch 'testing' of github.com:YunoHost-Apps/flohmarkt_ynh into testing 2024-05-13 12:18:18 +02:00
yunohost-bot
1beb2622e9 Auto-update READMEs 2024-05-12 15:41:47 +00:00
eric_G
df9dab54d1
Merge branch 'master' into testing 2024-05-12 17:41:44 +02:00
yunohost-bot
eacd1d22dd Auto-update READMEs 2024-05-10 18:19:32 +00:00
Chris Vogel
101ad9f73e RAM, factory option for uvicorn 2024-05-10 20:07:51 +02:00
Chris Vogel
cd2eea1abb typo 2024-05-10 13:24:10 +02:00
Chris Vogel
fabe59fbc0 Merge branch 'testing' of github.com:YunoHost-Apps/flohmarkt_ynh into testing 2024-05-10 13:13:11 +02:00
Chris Vogel
183fab287f moved to POST_INSTALL 2024-05-10 13:12:35 +02:00
yunohost-bot
223ea4058e Auto-update READMEs 2024-05-10 11:11:25 +00:00
Chris Vogel
a97f31a50b gitignore 2024-05-10 13:11:02 +02:00
Chris Vogel
405b6a7bba Merge branch 'testing' of github.com:YunoHost-Apps/flohmarkt_ynh into testing 2024-05-10 13:10:25 +02:00
Chris Vogel
4daa678ca4 testing 2024-05-10 13:07:21 +02:00
Chris Vogel
1b0e3e3846 remove un-needed file 2024-05-10 11:50:25 +02:00
Chris Vogel
17f3faca15 remove unneeded file 2024-05-10 11:49:24 +02:00
yunohost-bot
3ce18dfa9d Auto-update READMEs 2024-05-10 09:26:28 +00:00
Chris Vogel
4970b86bda restore DISCLAIMER 2024-05-10 11:24:58 +02:00
yunohost-bot
e21ccf23f7 Auto-update READMEs 2024-05-10 09:17:31 +00:00
Éric Gaspar
b475ce6375 Merge branch 'testing' of https://github.com/YunoHost-Apps/flohmarkt_ynh into testing 2024-05-10 11:17:19 +02:00
yunohost-bot
4bd490fa03 Auto-update READMEs 2024-05-10 09:08:12 +00:00
Chris Vogel
01ab9d6665 ironing out errors and warnings 2024-05-10 11:07:42 +02:00
Éric Gaspar
5cca8a21ec fix linter 2024-05-10 10:21:52 +02:00
Éric Gaspar
27920e6cfc Merge branch 'testing' of https://github.com/YunoHost-Apps/flohmarkt_ynh into testing 2024-05-10 10:17:32 +02:00
eric_G
08e0a321ec
Merge branch 'master' into testing 2024-05-10 10:16:46 +02:00