1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00
Commit graph

681 commits

Author SHA1 Message Date
tituspijean
02aa33e51a
Specify homedir and yarnrc file for yarn commands 2022-08-14 17:17:17 +02:00
Badri
d9efcf7942 Increase yarn network timeout to 10 minutes
We often run into the error, `An unexpected error occurred:
"https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.1.tgz:
ESOCKETTIMEDOUT".` This seems to be a common problem with the
date-fns package, as well as other large packages installed with
older versions of Yarn. See for example the following GitHub
issues:

https://github.com/date-fns/date-fns/issues/1004
https://github.com/yarnpkg/yarn/issues/8242

The problem seems to be related to slow hard-disk access on the
client server/VPS - so it's actually the storage connection and
not the Internet connection, that's timing out.

A common workaround for this is to increase the network timeout
for Yarn long enough for the build will complete, which is what
we're doing in this case since it's likely to affect a lot of the
slower setups (including, as it seems, the YunoHost CI!). For
everyone else, the worst case is that they'll have to wait 10
minutes before they realise there's actually something wrong with
the network.
2022-08-13 11:29:12 +05:30
Badri
dec480e706 Remove conf/admin.src because admin is pre-bundled now
We used to download the admin source files separately from Ghost's
Admin repo, but now they're done some restructuring so it's all
bundled along with the main Ghost monorepo. We'd already stopped
using this file for the last few commits, but now we're removing
it completely.
2022-08-12 14:23:45 +05:30
Badri
05605efdad Update version in manifest.json
I already fixed everything else, but forgot to bump the version
number here :P

Not bumping the README because apparently there's a YunoHost bot
that updates it automatically?
2022-08-12 14:12:05 +05:30
Badri
07f830d03b Fix update script: file check
Instead of checking for the existence of a file, we were checking
if config.production.json was a directory! Obviously, this would
end up failing (unless you've done something very strange with
your Ghost setup).
2022-08-12 14:11:15 +05:30
Badri
61616f907d Update to v5.8.3 and use new install format
Ghost has significantly changed their file structure, which means
the scripts had to be changed around quite a bit as well. We are
also using the readymade `yarn setup` tool to set up the Ghost
installation instead of manually running each command. Significant
changes are:

  - Config and content now lives under ./ghost/core instead of
    being directly in the project root. While updating, for
    backward compatibility, we're checking for the existence
    of the old folder as well
  - The admin interface is bundled along with the main Ghost
    package, so there is no need to download it separately
    (Casper is still being downloaded separately though)
  - We are using `yarn start` instead of knex, grunt, etc.
    (`yarn start` automatically calls those commands for us
    behind the scenes)
  - Similarly, we are now running `yarn start` to execute the
    Ghost process in the systemd config, instead of manually
    running `index.js` as we were doing earlier.

Fresh installs work well on this commit, though upgrades are yet
to be tested!
2022-08-11 10:07:20 +05:30
Yunohost-Bot
b08858b934 [autopatch] Add Common Platform Enumeration id to manifest.json 2022-08-07 20:12:22 +02:00
tituspijean
5018d5c13c
Merge pull request #168 from YunoHost-Apps/ci-auto-update-v5.3.1
Upgrade to version 5.3.1
2022-07-17 09:47:40 +02:00
yunohost-bot
3766a150be Auto-update README 2022-07-15 06:20:20 +00:00
yunohost-bot
05857a6ca9 Upgrade to v5.3.1 2022-07-15 06:20:16 +00:00
tituspijean
7d34728349
Fix Admin destination directory 2022-07-08 19:21:29 +02:00
tituspijean
a76ecacb2d
Fix Casper source and updater 2022-07-07 23:00:31 +02:00
yunohost-bot
b74d6e3ad9 Auto-update README 2022-07-07 20:46:09 +00:00
tituspijean
9cef9cfc22
Fix all the things 2022-07-07 22:45:56 +02:00
yalh76
8bc308d7d3
Merge pull request #167 from YunoHost-Apps/master
master
2022-06-15 20:51:04 +02:00
yalh76
4795e83d27
Reduce PRs 2022-06-15 20:50:40 +02:00
tituspijean
b7bf95006e
Update app.src for v5.2.2 2022-06-09 21:52:58 +02:00
tituspijean
886768dd42
Fix auto-updater 2022-06-09 21:52:21 +02:00
yalh76
82dd784cf3
Merge pull request #162 from YunoHost-Apps/testing
Upgrade to version 5.2.2
2022-06-07 20:10:56 +02:00
tituspijean
588a72ea1f
Merge pull request #161 from YunoHost-Apps/ci-auto-update-v5.2.2
Upgrade to version 5.2.2
2022-06-06 23:28:34 +02:00
yalh76
8743f44d78 Merge branch 'master' into testing 2022-06-04 19:49:26 +02:00
yunohost-bot
ca61af432c Auto-update README 2022-06-04 08:58:25 +00:00
yunohost-bot
6903a905c0
Upgrade to v5.2.2 2022-06-04 10:57:59 +02:00
tituspijean
c43c8185d0
Merge pull request #160 from YunoHost-Apps/ci-auto-update-v5.2.1
Upgrade to version 5.2.1
2022-06-04 09:35:31 +02:00
yunohost-bot
63263b8d43 Auto-update README 2022-06-03 06:22:06 +00:00
yunohost-bot
381b596b9f Upgrade to v5.2.1 2022-06-03 06:22:03 +00:00
yunohost-bot
09438fca86 Auto-update README 2022-05-31 18:39:16 +00:00
tituspijean
c6c1685846
Merge pull request #153 from YunoHost-Apps/testing
Upgrade to v4.48.0 and Reenable RestrictAddressFamilies safety setting
2022-05-31 20:39:13 +02:00
tituspijean
0a89ca8f5e
Merge pull request #151 from YunoHost-Apps/ci-auto-update-v4.48.0
Upgrade to version 4.48.0
2022-05-23 21:03:58 +02:00
tituspijean
552bda383d
Merge pull request #152 from ArchangeGabriel/patch-1
Reenable RestrictAddressFamilies safety setting
2022-05-23 21:02:58 +02:00
Bruno Pagani
be258a41f3
Reenable RestrictAddressFamilies safety setting
The addition of AF_NETLINK should be enough for it to work, without allowing the dozen of other families.
2022-05-21 13:37:45 +00:00
yunohost-bot
b218b42282 Auto-update README 2022-05-21 06:23:51 +00:00
yunohost-bot
e0aa9b6867 Upgrade to v4.48.0 2022-05-21 06:23:47 +00:00
tituspijean
33a70aa41a
Merge pull request #148 from YunoHost-Apps/testing
Upgrade to v4.47.2
2022-05-15 00:51:12 +02:00
tituspijean
4a7a2e33d1
Merge pull request #147 from YunoHost-Apps/ci-auto-update-v4.47.2
Upgrade to version 4.47.2
2022-05-15 00:50:19 +02:00
yunohost-bot
8331de8fd4 Auto-update README 2022-05-14 06:38:01 +00:00
yunohost-bot
eda712d8c9 Upgrade to v4.47.2 2022-05-14 06:37:58 +00:00
tituspijean
a2b1b5c9db
Merge pull request #146 from YunoHost-Apps/testing
Upgrade to v4.47.1
2022-05-10 17:17:23 +02:00
tituspijean
a65654f30b
Merge pull request #145 from YunoHost-Apps/ci-auto-update-v4.47.1
Upgrade to version 4.47.1
2022-05-10 17:16:54 +02:00
yunohost-bot
351f57573d Auto-update README 2022-05-10 06:22:56 +00:00
yunohost-bot
e4534a5dd7 Upgrade to v4.47.1 2022-05-10 06:22:52 +00:00
tituspijean
c532a77162
Merge pull request #144 from YunoHost-Apps/ci-auto-update-v4.47.0
Upgrade to version 4.47.0
2022-05-05 19:21:54 +02:00
yunohost-bot
4b512017f5 Auto-update README 2022-05-05 06:23:53 +00:00
yunohost-bot
86cd2a08ea Upgrade to v4.47.0 2022-05-05 06:23:49 +00:00
tituspijean
f887343875
Merge pull request #140 from YunoHost-Apps/testing
Upgrade to v4.46.0
2022-04-30 15:31:55 +02:00
tituspijean
228db99dd5
Merge pull request #142 from YunoHost-Apps/ci-auto-update-v4.46.0
Upgrade to version 4.46.0
2022-04-29 17:54:52 +02:00
yunohost-bot
50b6d041b0 Auto-update README 2022-04-29 06:23:27 +00:00
yunohost-bot
cec92ad824 Upgrade to v4.46.0 2022-04-29 06:23:23 +00:00
tituspijean
09a30eb249
Merge pull request #139 from YunoHost-Apps/ci-auto-update-v4.44.0
Upgrade to version 4.44.0
2022-04-16 13:14:31 +02:00
yunohost-bot
474c07bf04 Auto-update README 2022-04-16 06:21:03 +00:00