Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 409
    • Issues 409
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Merge requests
  • !1853

Add funkwhale script

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed getzze requested to merge getzze/funkwhale:funkwhale-script into develop Jun 27, 2022
  • Overview 43
  • Commits 5
  • Pipelines 2
  • Changes 1

Managing funkwhale with the cli is a bit tedious because you have to change user, load the env file, enter a virtualenv and run a django command.

Moreover, with the change to poetry, all the commands will be changed, it will be easier for people to make the change with this simple script.

This MR adds a script that can be put in /usr/bin to manage funkwhale more easily. I use it in the Arch (AUR) package currently (https://aur.archlinux.org/cgit/aur.git/tree/funkwhale_manage?h=funkwhale-venv).

For example:

sudo -u funkwhale -H -E /srv/funkwhale/virtualenv/bin/python api/manage.py collectstatic --no-input

becomes

sudo funkwhale_manage collectstatic --no-input
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: funkwhale-script