Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I need to adjust
file:///local/dir
? question is to what but I suppose that is what I need to figure out myself 😅There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Current dir I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Speaking of which, the recording backend was moved to it's own repo:
https://github.com/nextcloud/nextcloud-talk-recording
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, thanks for the heads-up!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#3570
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actuallly we are installing the packages from the pyproject file so I am not sure we actually need the above code changes here? also https://github.com/nextcloud-releases/all-in-one/actions/runs/6563947941/job/17832323096 seems to show that. @danxuliu please clarify :)
Also see https://github.com/nextcloud/nextcloud-talk-recording/blob/main/pyproject.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
--no-index
disables getting the packages from PyPi. However, it does it not only for the package being installed, but also its dependencies.However, to locally install a package it is enough to use an identifier that hints at being a local directory. So installing from
/src/recording/src
* should be fine; to err on the side of caution you could prependfile://
, but it should not be necessary.The problem in the recording server documentation was that it was installed from a relative directory named
nextcloud-talk-recording
, so pip tried to fetch it from PyPi too.*Out of curiosity, why do you move the
pyproject.toml
file inside thesrc
directory? It should be enough to keep it in the original place and install/src/recording
, or what am I missing? :-)