-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Addons: base version to compare against (DocDiff and File Tree Diff) #11794
Addons: base version to compare against (DocDiff and File Tree Diff) #11794
Conversation
Add the field `options_base_version` to allow users specifying what's the base version they want to compare against in general for those addons that depend on a base version: DocDiff and File Tree Diff for now. Closes #11770
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.
This is using a mix of LATEST, get_default_version, and get_latest_version, we should choose one of those only.
Yeah, that's fine. We are creating the manifest for PR, LATEST, default, and base versions. This covers the most common cases. Then, in the API response we are using the base version or LATEST (as a fallback) to compare against. Once we expose the |
We should have only one default for both features, this is using two different defaults for docdiff and ftd |
"base_host": "", | ||
"base_page": "", |
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.
This will also break tests on .com
Automatically create `AddonsConfig` everytime a new `Project` object is created.
Add the field
options_base_version
to allow users specifying what's the base version they want to compare against in general for those addons that depend on a base version: DocDiff and File Tree Diff for now.Closes #11770
Requires #11793