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

Add download link to staging PRs #3831

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

HebaruSan
Copy link
Member

Motivation

Dealing with KSP-CKAN/CKAN-meta#3183, KSP-CKAN/CKAN-meta#3184, KSP-CKAN/CKAN-meta#3185, KSP-CKAN/CKAN-meta#3186, and KSP-CKAN/CKAN-meta#3187 requires downloading the mod, but how to do this must be figured out by the PR reviewer (generally the answer is to click the spacedock or repository link and then click the download link on the host). This is inconvenient.

Changes

  • The StagingLinksTransformer now executes after DownloadAttributeTransformer and InstallSizeTransformer, which from reviewing Append resource links to staging PRs #3454 I think should be fine
  • Before it loops over the resources, StagingLinksTransformer adds a row containing metadata.Download

@HebaruSan HebaruSan added Enhancement New features or functionality Easy This is easy to fix Netkan Issues affecting the netkan data labels Apr 24, 2023
@HebaruSan HebaruSan requested a review from techman83 April 24, 2023 16:37
@HebaruSan
Copy link
Member Author

Self-reviewing because this is small and so we can start benefitting from it in the next pull request from SpaceDock.

@HebaruSan HebaruSan merged commit 83da2f9 into KSP-CKAN:master Apr 26, 2023
@HebaruSan HebaruSan deleted the feature/pr-download-link branch April 26, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy This is easy to fix Enhancement New features or functionality Netkan Issues affecting the netkan data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant