-
Notifications
You must be signed in to change notification settings - Fork 26
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
Method header incompatible with STIG #144
Comments
@cdlm ... technically both formats are correct... FileTree has not been updated to support the newer Cypress format ... I just don't have the time:), especially when the current format is "working just fine." Pull requests are welcome:) |
So STIG is the closest to the agreed-upon format? In fact I'm more concerned about making incompatible changes that will prevent people who already use FileTree from loading their code. I saw there is a notion of layout, would this be a good direction to look into? Do repos/commits have their layout automatically detected? |
Well, the current FileTree format (first-line method protocol) is also an "agreed-upon" format. The STIG version is a newer format...I'd expect that a platform would support both formats ...
as you point out there are quite a few "old-format" repositories out there:) and I share your concerns.
For Filetree repos, layout detection should be done by looking at the If you're interested in working on new support for the new version I would be inclined to suggest that you start with a fresh set of classes and a fresh approach and not try to reuse a bunch of code ... then the old hierarchy can be easily retired some day:) |
On 6 February 2015 at 19:09, Dale Henrichs [email protected] wrote:
Which hierarchy ? I have the FileTree code that is loaded by default in Pharo 4, without unit I've looked into loading the tests, but I'm confused about which branch to Damien Pollet |
Ah yes, the load instructions aren't clear... for Pharo3.0 and Pharo4.0, the following: Metacello new
baseline: 'FileTree';
repository: 'github://dalehenrich/filetree:pharo3.0/repository';
load: 'Tests'. If you want/need the latest version of Metacello, do the following: Metacello new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
get.
Metacello new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
onConflict: [:ex | ex allow];
load These were the classes that I was specifically thinking about junking for the new format...:
I imagine that the two abstract classes have crift in them to support 5 or 6 different repository formats leading up the present format ... The I think that with a fresh start perhaps aimed at supporting both formats and relegating the previous formats to obsucurity (code wise). The test repositories directory has examples of all of the different formats support by the current hierarcy... |
Progress report: I can browse a package coming from VW using the Monticello Browser :) I installed a new |
I've pushed my code as-is on https://github.com/cdlm/filetree/tree/cypress-compatibility-refactor |
Yeah, that's not a bad idea ... it will make much easier to manage the code review ... go for it! |
I certainly would like to have a look at it :) |
See #151. |
This seems related to #62, and definitely to CampSmalltalk/Cypress#18
FileTree expects method files to look like
But STIG starts the file with a notice/category comment instead of the bare category name before the method code.
The text was updated successfully, but these errors were encountered: