You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GRSmallDictionary2>>removeIndex: index
| value |
value := table at: index +1.
index to: size *2-2do: [ :i |
table at: i put: (table at: i +2) ].
table at: size *2-1put:nil.
table at: size *2put:nil.
size := size -1.
^ value
@marianopeck Since the number of metadata full projects still out there is really low, Iceberg does not manage it. (Too much development time for too few uses)
FileTree is still supported but only in metadata less mode.
To keep contributing to metadata full projects users needs to keep the same workflow than before Iceberg creation. Add a file tree repository to Monticello, export the code via Monticello in the file system then commit outside Pharo. (That was the way to use git before Pharo 6).
Thanks @jecisc for the explanation. I now understand why @marschall was considering moving to metadataless filetree. I guess at this point is not worth and would be better to move to Tonel, right?
@marianopeck It still has advantages to use metadata less filetree.
Here is some info of what I know we can do with different Pharo versions:
Pharo < 3
We can load FT metadata full projects.
Maybe metadata less project by updating Metacello but I'm not sure.
Pharo 4/5/6.0
We can load FT metadata full and metadata less projects.
We can load tonel project only if we update Metacello then install Tonel munally.
Pharo 6.1/7/8
We can load FT metadata full and metadata less projects.
We can load tonel project out of the box.
So, if we move to tonel (which I would love to reduce the number of files :D), the users will need to update Metacello and install tonel to load Grease.
Wow @jecisc that's a really niece summary of the status! Great work! Based on that wiki page, IF we do the effort of migrating Seaside repos, I would do it for sure to Tonel. I don't care about Pharo 3 ( It was released 5 years ago) and I don't care they have to manually update Metacello + Tonel as long as that is documented and working. If you want, you can say, OK, Seaside 3.4 from now onwards will only work in Pharo > 3 and that's all.
What I can say, is that contributing right now to Seaside is complicated, because everybody (that contributes) is likely using Iceberg and in 6.1 or 7. This case #81 is the clearest proof of that, right?
@jecisc and @marianopeck : Moving Grease to Tonel is not possible before it's supported on Gemstone, Squeak and before there is a clear path for migrating it to repositories for other platforms (VA, VW,...). Grease is intended to be a cross-platform layer, but as far as I know Tonel is just for Pharo.
@gcotelli I'll see what I can do and comment via the PR if necessary. Thanks.
Hi @jbrichau good point about other platforms. It's not only about Pharo. I guess we want both (Seaside and Grease) to continue working in other dialects as they do now. As for VA, we are pushing for Tonel...
Anyway, do you agree to at least update the Contributing page to explain how to contribute? I must said explicitly that these repos are Metadata full and how you would contribute that way with the different versions of Pharo, right? I am talking about this: https://github.com/SeasideSt/Seaside/blob/master/CONTRIBUTING.md
@marianopeck we already settled on metadataless for both repositories. Seaside already is, Grease was half-way (pharo7 package was already metadataless) and as of a few minutes ago, it's metadataless ;)
Hi @jbrichau so that means, based on above wiki, that since Pharo 4 to 8, we can contribute to Seaside using Filetree metadataless but not using Iceberg right? As @gcotelli said Iceberg does not work well enough with filetreee. Is that correct?
@marianopeck metadata-less is Iceberg compatible. Only metadata full is not :)
There is only one bug, it does not commit a full package removal, that's on my TODO list to check. (And it does not happen that often. Also, it keeps the package in the repo but the package would not be loaded)
HI @jecisc thanks for you explanation. So, based on your comment "metadata-less is Iceberg compatible. Only metadata full is not :)" and based on @jbrichau " Grease was half-way (pharo7 package was already metadataless) and as of a few minutes ago, it's metadataless ;)", then the only explanation of why @gcotelli saw the problem with Iceberg is because at that time he was in the 50% of Grease that was metadata full? That would explain everything :)
Activity
Fixed SeasideSt#81
gcotelli commentedon Jan 23, 2019
Changing
makes it work.
Here's a test case showing the problem:
gcotelli commentedon Jan 23, 2019
gcotelli commentedon Jan 23, 2019
I was going to produce a PR but noticed that commiting my changes with Iceberg there was a lot of unrelated differences :(
Some caring soul can commit this changes 🙏 in the right format
gcotelli commentedon Jan 23, 2019
I produced the PR and let you decide what to do.
marianopeck commentedon Jan 23, 2019
Weird the problem with Iceberg because the format is clearly specified as filetree: https://github.com/SeasideSt/Grease/blob/master/repository/.properties
jecisc commentedon Jan 23, 2019
@marianopeck Since the number of metadata full projects still out there is really low, Iceberg does not manage it. (Too much development time for too few uses)
marianopeck commentedon Jan 23, 2019
Hi @jecisc,
So then how are they (Grease developers) supposed to work with/for Pharo 7? They are force to migrate to Tonel?
jecisc commentedon Jan 23, 2019
FileTree is still supported but only in metadata less mode.
To keep contributing to metadata full projects users needs to keep the same workflow than before Iceberg creation. Add a file tree repository to Monticello, export the code via Monticello in the file system then commit outside Pharo. (That was the way to use git before Pharo 6).
marianopeck commentedon Jan 23, 2019
Thanks @jecisc for the explanation. I now understand why @marschall was considering moving to metadataless filetree. I guess at this point is not worth and would be better to move to Tonel, right?
jecisc commentedon Jan 23, 2019
@marianopeck It still has advantages to use metadata less filetree.
Here is some info of what I know we can do with different Pharo versions:
Pharo < 3
We can load FT metadata full projects.
Maybe metadata less project by updating Metacello but I'm not sure.
Pharo 4/5/6.0
We can load FT metadata full and metadata less projects.
We can load tonel project only if we update Metacello then install Tonel munally.
Pharo 6.1/7/8
We can load FT metadata full and metadata less projects.
We can load tonel project out of the box.
So, if we move to tonel (which I would love to reduce the number of files :D), the users will need to update Metacello and install tonel to load Grease.
jecisc commentedon Jan 23, 2019
jecisc commentedon Jan 23, 2019
I begun to write a documentation on the code formats:
pharo-open-documentation/pharo-wiki#72
marianopeck commentedon Jan 24, 2019
Wow @jecisc that's a really niece summary of the status! Great work! Based on that wiki page, IF we do the effort of migrating Seaside repos, I would do it for sure to Tonel. I don't care about Pharo 3 ( It was released 5 years ago) and I don't care they have to manually update Metacello + Tonel as long as that is documented and working. If you want, you can say, OK, Seaside 3.4 from now onwards will only work in Pharo > 3 and that's all.
What I can say, is that contributing right now to Seaside is complicated, because everybody (that contributes) is likely using Iceberg and in 6.1 or 7. This case #81 is the clearest proof of that, right?
jecisc commentedon Jan 24, 2019
Reviewed version: https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/ExportFormats.md
jbrichau commentedon Jan 24, 2019
@jecisc and @marianopeck : Moving Grease to Tonel is not possible before it's supported on Gemstone, Squeak and before there is a clear path for migrating it to repositories for other platforms (VA, VW,...). Grease is intended to be a cross-platform layer, but as far as I know Tonel is just for Pharo.
@gcotelli I'll see what I can do and comment via the PR if necessary. Thanks.
Fix and test for issue #81, recreating PR #82
marianopeck commentedon Jan 24, 2019
Hi @jbrichau good point about other platforms. It's not only about Pharo. I guess we want both (Seaside and Grease) to continue working in other dialects as they do now. As for VA, we are pushing for Tonel...
Anyway, do you agree to at least update the Contributing page to explain how to contribute? I must said explicitly that these repos are Metadata full and how you would contribute that way with the different versions of Pharo, right? I am talking about this: https://github.com/SeasideSt/Seaside/blob/master/CONTRIBUTING.md
Thanks!
jbrichau commentedon Jan 24, 2019
@marianopeck we already settled on metadataless for both repositories. Seaside already is, Grease was half-way (pharo7 package was already metadataless) and as of a few minutes ago, it's metadataless ;)
marianopeck commentedon Jan 24, 2019
Hi @jbrichau so that means, based on above wiki, that since Pharo 4 to 8, we can contribute to Seaside using Filetree metadataless but not using Iceberg right? As @gcotelli said Iceberg does not work well enough with filetreee. Is that correct?
jecisc commentedon Jan 24, 2019
@marianopeck metadata-less is Iceberg compatible. Only metadata full is not :)
There is only one bug, it does not commit a full package removal, that's on my TODO list to check. (And it does not happen that often. Also, it keeps the package in the repo but the package would not be loaded)
jbrichau commentedon Jan 24, 2019
thanks @gcotelli for fixing!
marianopeck commentedon Jan 25, 2019
HI @jecisc thanks for you explanation. So, based on your comment "metadata-less is Iceberg compatible. Only metadata full is not :)" and based on @jbrichau " Grease was half-way (pharo7 package was already metadataless) and as of a few minutes ago, it's metadataless ;)", then the only explanation of why @gcotelli saw the problem with Iceberg is because at that time he was in the 50% of Grease that was metadata full? That would explain everything :)
jecisc commentedon Jan 25, 2019
That's the case I think! :)
SeasideSt/Grease#81 is already merged, now we can remove the workaround.