Re: [Pharo-users] Issue with Iceberg

2017-02-15 Thread Nicolas Passerini
Yep, that's it. 2017-02-15 13:32 GMT-03:00 Juraj Kubelka : > You likely need the latest (unstable) VM because the stable one has > corrupted git library. > > Cheers, > Juraj > > > El 15-02-2017, a las 12:24, Alexandre Bergel > escribió: > > > > Hi! > > > > I have "Error: External module not fou

Re: [Pharo-users] [Pharo-dev] Call of projects of open-dev lectures

2017-01-06 Thread Nicolas Passerini
What do you think about Iceberg? 2017-01-04 15:48 GMT+01:00 Stephane Ducasse : > Hi > > We are organising a lecture where students should > - learn pharo > - learn how to communicate with open source community > - learn how to reverse engineer, fix bugs > They should work by 3/4. > > We are l

Re: [Pharo-users] Reverse interval

2017-01-05 Thread Nicolas Passerini
2017-01-05 10:33 GMT+01:00 Dimitris Chloupis : > Would it not "Interval empty" made more sense ? or is (1 to: 0) > convenient in some way in your scenario ? > +1

Re: [Pharo-users] iceberg and private github repos

2016-12-19 Thread Nicolas Passerini
Honestly I never tried, but I do not see why it wouldn't work. Please let me know if you find trouble. 2016-12-19 9:51 GMT+01:00 Esteban Lorenzano : > I guess is about credentials: you have the right user/pass, you will not > have problems… but that’s just an “I guess” :) > > (remember: iceberg j

Re: [Pharo-users] The Iceberg TechTalk recording

2016-12-13 Thread Nicolas Passerini
Maybe we could try to edit the video? Is it possible? 2016-12-13 21:20 GMT+01:00 Esteban Lorenzano : > Ah, but you need to skip until minute 10 :P > > Esteban > > > On 13 Dec 2016, at 21:19, Esteban Lorenzano wrote: > > > > Hi, > > > > for those who couldn’t join us, this is the recording: > > >

Re: [Pharo-users] about balkanisation

2016-11-07 Thread Nicolas Passerini
2016-11-07 16:26 GMT+01:00 Thierry Goubier : > >> The problem I found is that in order to recreate sequential numbers, you >> have to load all commits into the image. >> > > Why? GitFileTree doesn't need to do that at all! Well, you know the code: > it just ask git log to rebuild the parent / chil

Re: [Pharo-users] about balkanisation

2016-11-07 Thread Nicolas Passerini
2016-11-07 15:59 GMT+01:00 Thierry Goubier : > 2016-11-07 15:42 GMT+01:00 Nicolas Passerini : > >> >> 2016-11-07 15:30 GMT+01:00 Thierry Goubier : >> >>> Thierry, If I'm not mistaken, Esteban is referring to the fact that in >>>> FileTree w

Re: [Pharo-users] about balkanisation

2016-11-07 Thread Nicolas Passerini
2016-11-07 15:30 GMT+01:00 Thierry Goubier : > Thierry, If I'm not mistaken, Esteban is referring to the fact that in >> FileTree we are still using Monticello to do the load of the packages and >> even when we are running metadataless, we end creating fake meta data to >> simulate an mcz ... you

Re: [Pharo-users] How does Boolean ifTrue work?

2016-10-31 Thread Nicolas Passerini
Well, in fact Boolean class has no instances, the boolean value true is an instance of True class, you should look at the ifTrue: methods in the subclasses of Boolean True and False. But also, ifTrue: expressions are inlined, as the comment says in the code you posted. So I think that all this ifT

Re: [Pharo-users] Iceberg and git workflow

2016-10-03 Thread Nicolas Passerini
the stash, I use it all the time. > > On Mon, Oct 3, 2016 at 10:35 AM, Nicolas Passerini > wrote: > >> >> >> On Mon, Oct 3, 2016 at 2:19 PM, Vitor Medina Cruz >> wrote: >> >>> My two cents: having different images for branches is a good workaround,

Re: [Pharo-users] Iceberg and git workflow

2016-10-03 Thread Nicolas Passerini
On Mon, Oct 3, 2016 at 2:19 PM, Vitor Medina Cruz wrote: > My two cents: having different images for branches is a good workaround, > but I will have to manually control those images, while git abstracts this > a little since I have a way to tell it to stash and bring back work in > progress. Dep

Re: [Pharo-users] Using symbol

2016-09-19 Thread Nicolas Passerini
Collection withAllSubclasses collect: #numberOfLinesOfCode is the equicalent to Collection withAllSubclasses collect: [:each | each numberOfLinesOfCode ] What happens below is that (unary) symbols are polymorphic with one parameters blocks, i.e. they understand cull: and value:, which is impleme

Re: [Pharo-users] Iceberg and git workflow

2016-09-13 Thread Nicolas Passerini
Hi Holger, I think that both patterns are currently supported (in beta version), but maybe we do not use exactly the same tools. First, Iceberg does not use the concept of "stash". The git stash changes the file in your git working copy (on your file system), while your (modified) code is not ther

Re: [Pharo-users] Pharo 5 and image resizing

2016-08-23 Thread Nicolas Passerini
On Fri, Aug 19, 2016 at 10:04 AM, p...@highoctane.be wrote: > I've a concern with the image resizing in Pharo 5, as when I'll be loading > several (tons of) packages, MCZs will be piling up and if clearing that > cache isn't going to reduce the size of the image, I am not really keen on > draggin

Re: [Pharo-users] Script to migrate all mcz packages to git?

2016-08-02 Thread Nicolas Passerini
On Tue, Aug 2, 2016 at 1:23 PM, Peter Uhnak wrote: > At the time of the (post) writing it did preserve commit dates, but there > was no metadata-less yet. > > In any case, I don't see a reason why it shouldn't preserve commit dates > with metadata-less — it goes mcz by mcz and recommits it with g

Re: [Pharo-users] Script to migrate all mcz packages to git?

2016-08-02 Thread Nicolas Passerini
There is this script from Peter Uhnak https://www.peteruhnak.com/blog/2016/03/02/moving-project-from-smalltalkhub-to-github/#Copying-repository but it will not be able to preserve commit date. Preserving commit dates... I think it could only be possible in metadata-ful git repositories, which I w

Re: [Pharo-users] Pharo and GIT

2016-07-26 Thread Nicolas Passerini
Could you give examples of code searches that you would be able to do in the history. I think that for searching the history of a method or class, it is simpler (and faster) to do it in git than it is to do it in monticello. On Tue, Jul 26, 2016 at 1:31 PM, Dimitris Chloupis wrote: > Github has

Re: [Pharo-users] Pharo and GIT

2016-07-25 Thread Nicolas Passerini
> > > Well I wasn't sure if I should be reporting things now (because obviously > it's incomplete), and I saw 58 issues on github, so didn't want to add > more. > But if you want some feedback :) > Yes, feedback is necessary... even knowing that you are using it is good news for me. >

Re: [Pharo-users] Pharo and GIT

2016-07-25 Thread Nicolas Passerini
On Mon, Jul 25, 2016 at 7:28 PM, Peter Uhnak wrote: > IceBerg, which is hopefully the future of git in Pharo ( > https://github.com/npasserini/iceberg ) > Well, I hope so :) Iceberg is under development, but beta testers and feedback are welcome. I will be happy to help you if you intend to ado

Re: [Pharo-users] [Pharo-dev] [ANN] file dialog replacement experiment

2016-07-17 Thread Nicolas Passerini
On Sun, Jul 17, 2016 at 4:25 PM, Peter Uhnák wrote: > I wonder… does Pharo support such workflow that it would pull the code > from github? I.e. the development would continue on GitHub and Pharo would > just pull the updates. > > It is not ready for production, but I am working on that.

Re: [Pharo-users] [Pharo-dev] how to update monticello cypress repository downloaded from github?

2016-07-16 Thread Nicolas Passerini
AFAIK that is the only way > > 1. delete github-cache folder in the image folder > 2. unload all the loaded packages > 3. execute this script again > At least if you have a metadata less github repository, is that the case? But that was the conclusion to which we arrived with Dale a few weeks ago

Re: [Pharo-users] [ANN] Metacello support for GitFileTree metadata-less mode

2016-07-14 Thread Nicolas Passerini
Thank you Dale, this is very useful! On Thu, Jul 14, 2016 at 9:54 PM, Dale Henrichs < dale.henri...@gemtalksystems.com> wrote: > I need to proof read my posts more carefully... > > On 07/14/2016 12:49 PM, Dale Henrichs wrote: > > > On a slightly different topic, Alistair Grant ran into a bug invo

Re: [Pharo-users] How do I convert a FileTree project to Metadataless GitFileTree project?

2016-06-29 Thread Nicolas Passerini
Thank you Thierry! I have more questions inline. On Wed, Jun 29, 2016 at 10:44 AM, Thierry Goubier wrote: > All the Monticello GUI : track down version numbers to order stuff in the > lists views everywhere. > So, if we built a new GUI which does not rely on those version numbers maybe we coul

Re: [Pharo-users] How do I convert a FileTree project to Metadataless GitFileTree project?

2016-06-29 Thread Nicolas Passerini
Hi Dale, Therry, I am working on a libgit-based git integration for Pharo and I am facing the same problem about version numbers. So maybe I can help you if you are working on that. I had the same idea as Dale, using short SHAs instead of correlative numbers, but I didn't have the time yet to got d

Re: [Pharo-users] accepting method without creating variable and code generation

2016-06-28 Thread Nicolas Passerini
Still, I think it would be nice to be able to save a method even when it does not compile. On Tue, Jun 28, 2016 at 2:52 PM, Peter Uhnák wrote: > Yeah I guess that's not such a bad idea, to have a TemplateClass that > would contain just the template methods, so I don't need to worry about > confl

Re: [Pharo-users] Styling a Pharo UI application

2016-06-25 Thread Nicolas Passerini
In the last couple of years I have participated in building quite a few web applications and we always have put a lot of emphasis in the user experience, navigation, in having pretty styled widgets, visual effects, smoth transitions, drag & drop, etc. Sometimes we used some out of the box styling o