Skip to content

force installation of Issue Template#2099

Merged
enoch85 merged 3 commits into
masterfrom
issuetemplate
Aug 30, 2021
Merged

force installation of Issue Template#2099
enoch85 merged 3 commits into
masterfrom
issuetemplate

Conversation

@enoch85

@enoch85 enoch85 commented Aug 29, 2021

Copy link
Copy Markdown
Member

Tested and works

@enoch85 enoch85 changed the title force installatio of Issue Template force installation of Issue Template Aug 29, 2021
@enoch85

enoch85 commented Aug 29, 2021

Copy link
Copy Markdown
Member Author

@juliushaertl I don't know if there's a reason for not fixing this in core(?), but this works as a workaround to get it enabled.

Please advice.

@szaimen

szaimen commented Aug 29, 2021

Copy link
Copy Markdown
Collaborator

@enoch85 As an advice: I suppose nextcloud_occ app:install issuetemplate --force would probably be better ;)

@enoch85

enoch85 commented Aug 29, 2021

Copy link
Copy Markdown
Member Author

Aah, true, didn't know that --force existed.

need to be able to change info.xml, and the `--force` option installs and enables it with the wrong "compatibility".
@enoch85

enoch85 commented Aug 29, 2021

Copy link
Copy Markdown
Member Author

But, it didn't work. :/

@szaimen

szaimen commented Aug 29, 2021

Copy link
Copy Markdown
Collaborator

But, it didn't work. :/

Strange, thats excactly the usecase it was implemented for...

@enoch85

enoch85 commented Aug 30, 2021

Copy link
Copy Markdown
Member Author

Strange, thats excactly the usecase it was implemented for...

Maybe a bug, or it simply doesn't allow enabling when info.xml is wrong?

@szaimen

szaimen commented Aug 30, 2021

Copy link
Copy Markdown
Collaborator

Don't know... See nextcloud/server#26252 for the PR

@enoch85

enoch85 commented Aug 30, 2021

Copy link
Copy Markdown
Member Author

I'll merge this for now.

@enoch85 enoch85 merged commit fea049f into master Aug 30, 2021
@delete-merged-branch delete-merged-branch Bot deleted the issuetemplate branch August 30, 2021 21:03
@szaimen

szaimen commented Aug 30, 2021

Copy link
Copy Markdown
Collaborator

Just tried the force option myself.
The force option really didn't work in its alone but what works is this:

nextcloud_occ app:install --force --keep-disabled issuetemplate
nextcloud_occ app:enable issuetemplate --force

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.

2 participants