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

Plugins Add : repo name must be lowercase #2799

Open
Clem- opened this issue Jun 23, 2023 · 0 comments
Open

Plugins Add : repo name must be lowercase #2799

Clem- opened this issue Jun 23, 2023 · 0 comments

Comments

@Clem-
Copy link
Contributor

Clem- commented Jun 23, 2023

Describe the bug
When running plugins add command, the last part of the repo url is used for the foldername.
This foldername is then used as the reposityory name that must be lowercase.
Since the repo URL is not lowercase, an error occurs.

To Reproduce
Steps to reproduce the behavior:

  1. docker compose -f docker-compose.onpremise.mongo.yml exec plugins add https://github.com/linagora/Twake-Plugins-SimplePoll.git simplepoll secret

Expected behavior
Plugins should be built successfully

Screenshots

Waiting for SIMPLEPOLL.GIT build
/usr/src/app/helpers/add.js:63
if (err) throw err;
^

Error: Command failed: build SimplePoll.git && up SimplePoll.git
/usr/src/app/helpers/build.js:17
if (err) throw err;
^

Error: Command failed: cd /usr/src/app/plugins/SimplePoll.git && docker build -t SimplePoll.git . && cd ../..
invalid argument "SimplePoll.git" for "-t, --tag" flag: invalid reference format: repository name must be lowercase

Clem- pushed a commit to Clem-/Twake that referenced this issue Jun 23, 2023
@Clem- Clem- mentioned this issue Jun 23, 2023
8 tasks
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

No branches or pull requests

1 participant