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

change file name format #27

Merged
merged 4 commits into from Jul 3, 2023
Merged

change file name format #27

merged 4 commits into from Jul 3, 2023

Conversation

pjfanning
Copy link
Owner

@pjfanning pjfanning commented Jun 29, 2023

relates to #23

  • for uptake, projects would need to change sourceDistName and remove the 'incubating' but probably add 'apache'
  • also set sourceDistIncubating := true

@pjfanning pjfanning marked this pull request as draft June 29, 2023 21:33
@mdedetrich
Copy link
Collaborator

@pjfanning Is this ready or does it need more work?

@pjfanning
Copy link
Owner Author

@pjfanning Is this ready or does it need more work?

I was going to get this looked at after merging the sha512 change (they will conflict a bit) - but you're welcome to comment on the changes as they are.

@pjfanning pjfanning marked this pull request as ready for review July 2, 2023 13:20
@pjfanning pjfanning changed the title [DRAFT] change file name format change file name format Jul 2, 2023
@pjfanning pjfanning requested a review from mdedetrich July 2, 2023 13:22
@@ -26,7 +27,8 @@ private[sourcedist] object SourceDistGenerate {
ignoreList.addPatterns(customIgnorePatterns)
val files = getIncludedFiles(baseDir, ignoreList)

val baseFileName = s"$prefix-src-$version"
val versionString = if (incubating) s"$version-incubating" else version
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extremely minor nit, but the variable name versionString here is slightly misleading because it also contains incubating (which has nothing to do with version).

Copy link
Collaborator

@mdedetrich mdedetrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Quite happy with the changes as it abstracts the incubating part away from the sourceDistName

@pjfanning pjfanning merged commit f6a2e96 into main Jul 3, 2023
6 checks passed
@pjfanning pjfanning deleted the file-name-format-change branch July 3, 2023 16:00
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.

None yet

2 participants