Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix and reimplement Pictrs #76

Merged
merged 37 commits into from
Dec 26, 2023
Merged

Conversation

Gildas-GH
Copy link
Member

Problem

The current package in master has three problems :

  • It is not up to date with upstream
  • It is broken due to an error with Sharp
  • It doesn't support image upload

Solution

  • The first problem cannot be solved as the PostgreSQL version available in Bullseye doesn't meet the requirements of Lemmy. We have to wait.
  • The two other can be solved with Reimplement Pict-RS #43 and a bugfix contained in this branch

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

@ericgaspar
Copy link
Member

!testme

@yunohost-bot
Copy link
Contributor

Alrighty!
Test Badge

@@ -16,8 +16,9 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1

ynh_systemd_action --service_name=$app --action="stop" --line_match="Stopped" --log_path=systemd
ynh_systemd_action --service_name=$app-ui --action="stop" --line_match="Stopped" --log_path=systemd
ynh_systemd_action --service_name=$app --action="stop" --line_match="Stopped" "/var/log/$app/$app.log"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ynh_systemd_action --service_name=$app --action="stop" --line_match="Stopped" "/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="stop" --line_match="Stopped" --log_path="/var/log/$app/$app.log"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log_path are set to differently in upgrade script --log_path=systemd

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the best practice ? Write logs in the file ?

manifest.toml Outdated Show resolved Hide resolved
@ericgaspar ericgaspar changed the base branch from master to testing December 24, 2023 08:25
Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com>
@ericgaspar ericgaspar merged commit 8b38ffc into YunoHost-Apps:testing Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants