Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-28 Thread Tim Mackinnon
Thanks Ben - I hadn’t really thought of using the GitHub web ui itself (so many places to choose from ;) Effectively the ~1 syntax Guille mentioned is exactly what you’ve explained (so that hangs together nicely). Now looking back at the tutorial I had followed, I didn’t notice the ~1 in

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-28 Thread Ben Coman
On 28 June 2018 at 07:38, Tim Mackinnon wrote: > Hey thanks Ben - this still doesn’t work for me… good idea to try on the > Pharo repo itself. > > I have a fork of it, which I catch up periodically - so I tried a similar > suggestion to you - went into my directory (underneath the src folder)

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-28 Thread Guillermo Polito
> You mentioned a Calypso plugin for versions - where is that? I loaded a recentish P7 image and I don’t see those icons? Is this something I can easily load to try out? As soon as a class is inside a package that is managed by iceberg, you should see in Calypso a new button and menu item on

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-27 Thread Tim Mackinnon
For the record - I get the same error using those steps on Ubuntu as well. So I must be doing something wrong? (Note in my message when I pasted the command used - I neglected the git in front of: log --diff-filter=D --summary —pretty="format:%cd | %h | %H | %cn%n-> %s%n”) Tim > On 28 Jun

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-27 Thread Tim Mackinnon
And just to add to this - I just did a git clone (git clone g...@github.com :pharo-project/pharo.git) in a fresh directory and can see that same deleted file - and when I try to do a checkout, it gives the path spec error. This is very weird - is it some osx thing? I

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-27 Thread Tim Mackinnon
Hey thanks Ben - this still doesn’t work for me… good idea to try on the Pharo repo itself. I have a fork of it, which I catch up periodically - so I tried a similar suggestion to you - went into my directory (underneath the src folder) and typed: log --diff-filter=D --summary --graph

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-25 Thread Ben Coman
On 25 June 2018 at 19:41, Tim Mackinnon wrote: > I’d be really interested if someone with lower level GIT knowledge might > try a: > > git checkout src//.class.st > > > For their project - as I don’t understand what I’m doing wrong - and I’d > like the comfort of

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-25 Thread Tim Mackinnon
I’d be really interested if someone with lower level GIT knowledge might try a: git checkout src//.class.st For their project - as I don’t understand what I’m doing wrong - and I’d like the comfort of knowing that our source is in a place/state where we can

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-21 Thread Tim Mackinnon
Just to add more information to this - I did try what was suggested here (it refers to a branch and not a commit id - but heck worth a shot) https://stackoverflow.com/questions/5989592/git-cannot-checkout-branch-error-pathspec-did-not-match-any-files-kn

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-21 Thread Tim Mackinnon
Guille - just following up on this thread as I’d like to get more confident with this stuff. You mentioned a Calypso plugin for versions - where is that? I loaded a recentish P7 image and I don’t see those icons? Is this something I can easily load to try out? As I don’t have that plugin,

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-20 Thread Guillermo Polito
On Thu, Jun 14, 2018 at 10:17 AM Tim Mackinnon wrote: > Hi Guille - I have tried the repo browser with the new iceberg loaded in > Pharo 6.1 and I couldn’t see how it helps me? (I will make a firm point of > using 7 now as I think I’ve now got a reasonable grasp of how things should > work). >

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-14 Thread Tim Mackinnon
Hi Guille - I have tried the repo browser with the new iceberg loaded in Pharo 6.1 and I couldn’t see how it helps me? (I will make a firm point of using 7 now as I think I’ve now got a reasonable grasp of how things should work). From the threads below - how would I find the commit with my

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-14 Thread Guillermo Polito
Hi, Regarding history, right now we have a history browser implemented as a Calypso plugin, that is open using context menu => history or the little box button on the top right of the method pane (second button from the left in the picture): [image: Screen Shot 2018-06-14 at 09.34.24.png] That

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-13 Thread Tim Mackinnon
Hi Sean - I tried it again, and it worked: git log --full-history -- */PrismicBlock.class* (I got my wildcard slightly wrong for tonel format) - although the beauty of the one I gave was that it shows you all deleted classes (in case you don’t know the name) I’m still confused why I can’t

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-13 Thread Sean P. DeNigris
Tim Mackinnon wrote > I didn’t quite get your fu to work Interesting. When I searched for commits affecting the deleted class SuDebianKey: $ git log --full-history -- */SuDebianKey.class/properties.json I got back a list of commits (obviously with the last chronologically being the deletion):

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-13 Thread Tim Mackinnon
Hi Sean - that is an excellent reply, I didn’t quite get your fu to work - but if you look up how to find deleted classes in git they give the following: git log --diff-filter=D --summary This gives you a git list of checkins and shows you the checkin comment, along with the list of files that

Re: [Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-13 Thread Sean P. DeNigris
Tim Mackinnon wrote > Hi - I am interested in what the future holds with Iceberg for things like > finding deleted classes or reverting to older versions of things. Great question! It used to be in the Change Sorter that delections were logged and reversible. At some point that stopped working

[Pharo-users] Iceberg - finding deleted classes, reverting versions?

2018-06-13 Thread Tim Mackinnon
Hi - I am interested in what the future holds with Iceberg for things like finding deleted classes or reverting to older versions of things. As we tend to use lots of classes in Smalltalk (and view them as cheap) - I often create them, then move behaviour around and delete things I don’t need