[Pharo-users] Pharo Techtalk Nov 21

2019-11-19 Thread Marcus Denker
Hi,

Next techtalk will be *this* week (Nov 21):

Topic:   Discussion around Contributing to Pharo8

The idea is to discuss on Discord and may do some examples live…

Calendar entry: https://association.pharo.org/event-3419546

(sorry for the late announce… )


Re: [Pharo-users] [ANN] XMLParser moved to GitHub

2019-11-19 Thread Sven Van Caekenberghe



> On 19 Nov 2019, at 15:15, Torsten Bergmann  wrote:
> 
> Nonetheless do not thank me - we should thank all the contributors who have 
> added code
> over the past years. Especially monty who did a lot of implementation work - 
> the XML support stuff is
> really well written code which is covered by over 6800 unit tests.

Yes indeed, it is a great package tackling a complex subject.


Re: [Pharo-users] [ANN] XMLParser moved to GitHub

2019-11-19 Thread Torsten Bergmann
Hi Sven,

yes - took a while. And thanks for helping / giving me the right advice on 
Discord to fiddle with the
encoding issues I found in some old mcz files.

For now I focused on Pharo loading only - leaving aside the #gemstone part as I 
do not have an
installation here. So I defer the work for checking the "gemstone 
compatibility" packages to people who
actually need this. Should not be too hard as they are also included in the GH 
project as well - but
might require adopting the baslines and further loading tests.

Nonetheless do not thank me - we should thank all the contributors who have 
added code
over the past years. Especially monty who did a lot of implementation work - 
the XML support stuff is
really well written code which is covered by over 6800 unit tests.

I hope that GitHub allows us to manage it even better in the future. At least
we are not bound to STHub anymore. Step by step it goes ...

BTW:  There is now also a channel #xml on Discord so people can discuss related 
issues and
  "pharo-contributors" can align on moving on with the packages.

Thanks
T.

> Gesendet: Dienstag, 19. November 2019 um 12:53 Uhr
> Von: "Sven Van Caekenberghe" 
> An: "Any question about pharo is welcome" 
> Betreff: Re: [Pharo-users] [ANN] XMLParser moved to GitHub
>
> Great!
>
> Thank you for this effort, it was probably much harder than it looks.
>




Re: [Pharo-users] [ANN] XMLParser moved to GitHub

2019-11-19 Thread Cyril Ferlicot
On Tue, Nov 19, 2019 at 12:33 PM Torsten Bergmann  wrote:
>
> Hi,
>
> the STHub -> PharoExtras project "XMLParser"
>
> was now moved from http://smalltalkhub.com/#!/~PharoExtras/XMLParser to
> https://github.com/pharo-contributions/XML-XMLParser including the FULL 
> HISTORY
>
> The old STHub repo was marked as obsolete - but is linking to the new one. 
> I've also
> setup an CI job:  https://travis-ci.org/pharo-contributions/XML-XMLParser
> which is green for Pharo 7. Some cleanups, class comments and docu was 
> applied as you can
> see from commit history.
>
> The new version is tagged in git as version 3.5.0 (with a moveable tag 3.5.x 
> in case further
> hotfixes are required).
>
> If you want to load use
>
>Metacello new
> baseline: 'XMLParser';
> repository: 'github://pharo-contributions/XML-XMLParser/src';
> load.
>
> or try to load from catalog in Pharo 7 and 8.
>
> For referencing in own baselines I would suggest to use the 3.5.x tag line:
>
>   
> 
>   xmlParserOn: spec
> spec
> baseline: 'XMLParser'
> with: [
> spec
> loads: #('Core');
> repository: 
> 'github://pharo-contributions/XML-XMLParser:3.5.x/src' ].
> spec
> project: 'XMLParser Tests' copyFrom: 'XMLParser' with: [ spec 
> loads: #('Tests') ];
> project: 'XMLParser Tools' copyFrom: 'XMLParser' with: [ spec 
> loads: #('Tools') ]
>
> 
>
> Currently there is a dependency on OrderPreservingDictionary project which 
> will be thrown out in
> a later iteration (see attached graph and [1] for more details).
>
> More to come soon ...
>
> Have fun
> T.
>
> [1]  
> https://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2019-November/044793.html

Thank you very much for this effort! I'll migrate my projects
depending on it this week probably!

-- 
Cyril Ferlicot
https://ferlicot.fr



Re: [Pharo-users] [ANN] XMLParser moved to GitHub

2019-11-19 Thread Esteban Maringolo
+1

Thanks for the effort. Not only migrated the code, but also polished
it, documented, and setup a CI for it.

Regards!

Esteban A. Maringolo

On Tue, Nov 19, 2019 at 8:53 AM Sven Van Caekenberghe  wrote:
>
> Great!
>
> Thank you for this effort, it was probably much harder than it looks.
>
> > On 19 Nov 2019, at 12:32, Torsten Bergmann  wrote:
> >
> > Hi,
> >
> > the STHub -> PharoExtras project "XMLParser"
> >
> > was now moved from http://smalltalkhub.com/#!/~PharoExtras/XMLParser to
> > https://github.com/pharo-contributions/XML-XMLParser including the FULL 
> > HISTORY
> >
> > The old STHub repo was marked as obsolete - but is linking to the new one. 
> > I've also
> > setup an CI job:  https://travis-ci.org/pharo-contributions/XML-XMLParser
> > which is green for Pharo 7. Some cleanups, class comments and docu was 
> > applied as you can
> > see from commit history.
> >
> > The new version is tagged in git as version 3.5.0 (with a moveable tag 
> > 3.5.x in case further
> > hotfixes are required).
> >
> > If you want to load use
> >
> >   Metacello new
> >   baseline: 'XMLParser';
> >   repository: 'github://pharo-contributions/XML-XMLParser/src';
> >   load.
> >
> > or try to load from catalog in Pharo 7 and 8.
> >
> > For referencing in own baselines I would suggest to use the 3.5.x tag line:
> >
> >  
> > 
> >  xmlParserOn: spec
> >   spec
> >   baseline: 'XMLParser'
> >with: [
> >   spec
> >   loads: #('Core');
> >   repository: 
> > 'github://pharo-contributions/XML-XMLParser:3.5.x/src' ].
> >   spec
> >   project: 'XMLParser Tests' copyFrom: 'XMLParser' with: [ spec 
> > loads: #('Tests') ];
> >   project: 'XMLParser Tools' copyFrom: 'XMLParser' with: [ spec 
> > loads: #('Tools') ]
> >   
> > 
> >
> > Currently there is a dependency on OrderPreservingDictionary project which 
> > will be thrown out in
> > a later iteration (see attached graph and [1] for more details).
> >
> > More to come soon ...
> >
> > Have fun
> > T.
> >
> > [1]  
> > https://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2019-November/044793.html
> > 
>
>



[Pharo-users] [ANN] Pastell moved to GitHub

2019-11-19 Thread Torsten Bergmann
Hi,

the STHub -> PharoExtras project "Pastell" (XPath-like DSL that makes 
navigation in XML DOM trees easier)

was now moved from http://smalltalkhub.com/#!/~PharoExtras/Pastell to
https://github.com/pharo-contributions/XML-Pastell including the FULL HISTORY

The old STHub repo was marked as obsolete - but is linking to the new one. I've 
also
setup an CI job: https://travis-ci.org/pharo-contributions/XML-Pastell
which is green for Pharo 7. Some cleanups, class comments and docu was applied 
as you can
see from commit history.

The new version is tagged in git as version 1.6.0 (with a moveable tag 1.6.x in 
case further
hotfixes are required).

You can load using

 Metacello new
baseline: 'Pastell';
repository: 'github://pharo-contributions/XML-Pastell/src';
load.


or from catalog in Pharo 7 or 8.

Attached is current dependency graph.

SIDE NOTE:
==
If you want to load Pastell and XPath [1] into the same image you will see in 
Iceberg
they have colliding methods. Currently one can not share them since either 
XPath or Pastell
tests are green depending on which one are used. This already was the case in 
the STHub project versions.

I would suggest to only use Pastell or XPath until this could possibly be 
sorted out in the future.

Bye
T.

[1] 
https://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2019-November/044797.html


Re: [Pharo-users] [ANN] XMLParser moved to GitHub

2019-11-19 Thread Sven Van Caekenberghe
Great!

Thank you for this effort, it was probably much harder than it looks.

> On 19 Nov 2019, at 12:32, Torsten Bergmann  wrote:
> 
> Hi,
> 
> the STHub -> PharoExtras project "XMLParser"
> 
> was now moved from http://smalltalkhub.com/#!/~PharoExtras/XMLParser to
> https://github.com/pharo-contributions/XML-XMLParser including the FULL 
> HISTORY
> 
> The old STHub repo was marked as obsolete - but is linking to the new one. 
> I've also
> setup an CI job:  https://travis-ci.org/pharo-contributions/XML-XMLParser
> which is green for Pharo 7. Some cleanups, class comments and docu was 
> applied as you can
> see from commit history.
> 
> The new version is tagged in git as version 3.5.0 (with a moveable tag 3.5.x 
> in case further
> hotfixes are required).
> 
> If you want to load use
> 
>   Metacello new
>   baseline: 'XMLParser';
>   repository: 'github://pharo-contributions/XML-XMLParser/src';
>   load.
> 
> or try to load from catalog in Pharo 7 and 8.
> 
> For referencing in own baselines I would suggest to use the 3.5.x tag line:
> 
>  
> 
>  xmlParserOn: spec
>   spec
>   baseline: 'XMLParser'
>with: [
>   spec
>   loads: #('Core');
>   repository: 
> 'github://pharo-contributions/XML-XMLParser:3.5.x/src' ].
>   spec
>   project: 'XMLParser Tests' copyFrom: 'XMLParser' with: [ spec 
> loads: #('Tests') ];
>   project: 'XMLParser Tools' copyFrom: 'XMLParser' with: [ spec 
> loads: #('Tools') ]
>   
> 
> 
> Currently there is a dependency on OrderPreservingDictionary project which 
> will be thrown out in
> a later iteration (see attached graph and [1] for more details).
> 
> More to come soon ...
> 
> Have fun
> T.
> 
> [1]  
> https://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2019-November/044793.html
> 




[Pharo-users] [ANN] XPath moved to GitHub

2019-11-19 Thread Torsten Bergmann
Hi,

the STHub -> PharoExtras project "XPath"

was now moved from http://smalltalkhub.com/#!/~PharoExtras/XPath to
https://github.com/pharo-contributions/XML-XPath including the FULL HISTORY

The old STHub repo was marked as obsolete - but is linking to the new one. I've 
also
setup an CI job: https://travis-ci.org/pharo-contributions/XML-XPath
which is green for Pharo 7. Some cleanups, class comments and docu was applied 
as you can
see from commit history.

The new version is tagged in git as version 2.2.0 (with a moveable tag 2.2.x in 
case further
hotfixes are required).

You can load using

Metacello new
baseline: 'XPath';
repository: 'github://pharo-contributions/XML-XPath/src';
load.


or from catalog in Pharo 7 or 8.

Attached is current dependency graph.

More to come soon ...

Bye
T.

[Pharo-users] XMLParserStAX moved to GitHub

2019-11-19 Thread Torsten Bergmann
Hi,

the STHub -> PharoExtras project "XMLParserStAX"

was now moved from http://smalltalkhub.com/#!/~PharoExtras/XMLParserStAX to
https://github.com/pharo-contributions/XML-XMLParserStAX including the FULL 
HISTORY

The old STHub repo was marked as obsolete - but is linking to the new one. I've 
also
setup an CI job: https://travis-ci.org/pharo-contributions/XML-XMLParserStAX
which is green for Pharo 7. Some cleanups, class comments and docu was applied 
as you can
see from commit history.

The new version is tagged in git as version 1.4.0 (with a moveable tag 1.4.x in 
case further
hotfixes are required).

You can load using

Metacello new
baseline: 'XMLParserStAX';
repository: 'github://pharo-contributions/XML-XMLParserStAX/src';
load.


or from catalog in Pharo 7 or 8.

Attached is current dependency graph.

More to come soon ...

Bye
T.


[Pharo-users] [ANN] XMLParserHTML moved to GitHub

2019-11-19 Thread Torsten Bergmann
Hi,

the STHub -> PharoExtras project "XMLParserHTML"

was now moved from http://smalltalkhub.com/#!/~PharoExtras/XMLParserHTML to
https://github.com/pharo-contributions/XML-XMLParserHTML including the FULL 
HISTORY

The old STHub repo was marked as obsolete - but is linking to the new one. I've 
also
setup an CI job:  https://travis-ci.org/pharo-contributions/XML-XMLParserHTML
which is green for Pharo 7. Some cleanups, class comments and docu was applied 
as you can
see from commit history.

The new version is tagged in git as version 1.6.0 (with a moveable tag 1.6.x in 
case further
hotfixes are required).

You can load using

   Metacello new
baseline: 'XMLParserHTML';
repository: 'github://pharo-contributions/XML-XMLParserHTML/src';
load.

or from catalog in Pharo 7 or 8.

Attached is current dependency graph.

More to come soon ...

Bye
T.

[Pharo-users] [ANN] XMLParser moved to GitHub

2019-11-19 Thread Torsten Bergmann
Hi,

the STHub -> PharoExtras project "XMLParser"

was now moved from http://smalltalkhub.com/#!/~PharoExtras/XMLParser to
https://github.com/pharo-contributions/XML-XMLParser including the FULL HISTORY

The old STHub repo was marked as obsolete - but is linking to the new one. I've 
also
setup an CI job:  https://travis-ci.org/pharo-contributions/XML-XMLParser
which is green for Pharo 7. Some cleanups, class comments and docu was applied 
as you can
see from commit history.

The new version is tagged in git as version 3.5.0 (with a moveable tag 3.5.x in 
case further
hotfixes are required).

If you want to load use

   Metacello new
baseline: 'XMLParser';
repository: 'github://pharo-contributions/XML-XMLParser/src';
load.

or try to load from catalog in Pharo 7 and 8.

For referencing in own baselines I would suggest to use the 3.5.x tag line:

  

  xmlParserOn: spec
spec
baseline: 'XMLParser'
with: [
spec
loads: #('Core');
repository: 
'github://pharo-contributions/XML-XMLParser:3.5.x/src' ].
spec
project: 'XMLParser Tests' copyFrom: 'XMLParser' with: [ spec 
loads: #('Tests') ];
project: 'XMLParser Tools' copyFrom: 'XMLParser' with: [ spec 
loads: #('Tools') ]
   


Currently there is a dependency on OrderPreservingDictionary project which will 
be thrown out in
a later iteration (see attached graph and [1] for more details).

More to come soon ...

Have fun
T.

[1]  
https://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2019-November/044793.html


[Pharo-users] [ANN] OrderPreservingDictionary version 1.5.0

2019-11-19 Thread Torsten Bergmann
After
  - BitmapCharacterSet [1]
  - XMLWriter [2]

were moved to "pharo-contributions" GitHub I also did a pass on 
OrderPreservingDictionary:

https://github.com/pharo-contributions/OrderPreservingDictionary

which is now available as 1.5.0 version (and also as moving tag 1.5.x in case 
we provide
further hotfixes).

Basically cleanups were applied:
 - add missing comments
 - cleanup packaging
 - fixing typos
 - adding tools group for GT extensions
 - align CI definitions with projects like Seaside
 - CI green again (throwing out non-working Gemstone, volunteers welcomed)
 - fix catalog entry
 - deprecating 
http://smalltalkhub.com/#!/~PharoExtras/OrderPreservingDictionary and
   http://smalltalkhub.com/#!/~Pharo/OrderPreservingDictionary

You can load it using

  Metacello new
baseline: 'OrderPreservingDictionary';
repository: 
'github://pharo-contributions/OrderPreservingDictionary/src';
load

or via catalog in Pharo 7 and 8.

SIDE NOTE:
==
As of today XMLWriter still requires the "OrderPreservingDictionary" project as 
a dependency.
OrderPreservingDictionary could be replaced by OrderedDictionary (same code, in 
the standard
image) - I will do a pass on that later on. For now I focus on moving the XML 
stuff to
GitHub first.


[1] 
https://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2019-October/044716.html
[2] 
https://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2019-October/044736.html