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

Fix WAVersionUploader #1334

Merged
merged 1 commit into from
Sep 1, 2022
Merged

Conversation

marschall
Copy link
Contributor

Fixes the version uploader on Pharo 10.

  • RWBinaryOrTextStream was undeclared
  • #newVersion was not implemented

@@ -1,10 +1,10 @@
actions
newVersion: aWorkingCopy
| version stream |
version := [ aWorkingCopy newVersion ]
version := [ aWorkingCopy newVersionIn: aWorkingCopy repositoryGroup ]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure whether or #repositoryGroup or #theCachedRepository or something else is correct.

Copy link
Member

Choose a reason for hiding this comment

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

I have not investigated further, but seems like this is also how it's done in MetacelloPharoPlatform and the MCWorkingCopyTest. So looks fine to me.

I have never really understood the use of the tool though...

@marschall marschall added the CampSmalltalk 2022 Issues worked on at CampSmalltalk 2022 in Novi Sad label Aug 23, 2022
@@ -1,10 +1,10 @@
actions
newVersion: aWorkingCopy
| version stream |
version := [ aWorkingCopy newVersion ]
version := [ aWorkingCopy newVersionIn: aWorkingCopy repositoryGroup ]
Copy link
Member

Choose a reason for hiding this comment

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

I have not investigated further, but seems like this is also how it's done in MetacelloPharoPlatform and the MCWorkingCopyTest. So looks fine to me.

I have never really understood the use of the tool though...

@jbrichau jbrichau merged commit e055956 into SeasideSt:master Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CampSmalltalk 2022 Issues worked on at CampSmalltalk 2022 in Novi Sad
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants