Giter VIP home page Giter VIP logo

Comments (6)

fniephaus avatar fniephaus commented on May 23, 2024

I'm a little confused here. Is this a smalltalkCI bug or a Pharo problem?

from smalltalkci.

dalehenrich avatar dalehenrich commented on May 23, 2024

Well, the bug is in the behavior of SmalltalkCI ... a pattern that is used for category matching (Smaltalk-*) by SmalltalkCI gives a different result when used to match packages in the Pharo/GemStone #package extension for SmalltalkCI ... and the fix will most likely be made in SmalltalkCI-Pharo.st so technically this is a SmalltalkCI bug ...

At the end of the day Smaltalk-* interpreted as regex (which is what Pharo currently does for packages) does not give the same result as SmalltalkCI>>classesInCategoryPrefix: (which is what is used by Squeak, Pharo and GemStone for categories) ....

from smalltalkci.

dalehenrich avatar dalehenrich commented on May 23, 2024

This bug is illustrated by these two expected failure conditions:

expectedFailures
  SmalltalkCI platformSymbol = #'pharo'
    ifTrue: [ ^ #(#'testGemStonePharoClassesTestPackages2') ].
  SmalltalkCI platformSymbol = #'gemstone'
    ifTrue: [ ^ #(#'testGemStonePharoClassesTestPackages3') ].
  ^ #()

The test code will be present on the master branch once PR #74 is merged

from smalltalkci.

dalehenrich avatar dalehenrich commented on May 23, 2024

Once the merge is complete @estebanlm and I can discuss alternatives, as I think the behavior should be consistent

from smalltalkci.

estebanlm avatar estebanlm commented on May 23, 2024

sorry for not having time recently to look at this :(
but yes, the "" pattern should match for pharo (also, the regex "." should do it)...

from smalltalkci.

fniephaus avatar fniephaus commented on May 23, 2024

We have unified this across all dialects with 5073e62. Here is an example.

from smalltalkci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.