Skip to content

Add download link to staging PRs#3831

Merged
HebaruSan merged 1 commit into
KSP-CKAN:masterfrom
HebaruSan:feature/pr-download-link
Apr 26, 2023
Merged

Add download link to staging PRs#3831
HebaruSan merged 1 commit into
KSP-CKAN:masterfrom
HebaruSan:feature/pr-download-link

Conversation

@HebaruSan
Copy link
Copy Markdown
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
Copy Markdown
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