Skip to content

Commit

Permalink
"Merge commit f15a17f"
Browse files Browse the repository at this point in the history
  • Loading branch information
npasserini committed Oct 13, 2016
2 parents 290064a + f15a17f commit 28bc3e1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ selectionAction: actionSelector
"action selector will be sent to the presentation selection.
If it accepts one argument, the presentation will be sent."

^ self action: [ :presentation |
(MessageSend
receiver: presentation selection
selector: actionSelector)
cull: presentation ];
condition: [ :presentation |
"This is a minimal condition, that can be overriden (refined) later"
presentation selection notNil ].
^ self
action: [ :presentation |
presentation selection
ifNotNil: [ :sel | (MessageSend receiver: sel selector: actionSelector) cull: presentation ] ];
enabledCondition:
[ :presentation | "This is a minimal condition, that can be overriden (refined) later" presentation selection notNil ]
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ selectionCondition: selectionCondition
"selectionCondition can be anything that can respond #cull: such as a block or unary symbol.
It will only be evaluated if the presentation has a (not nil) selected element."

^ self condition: [ :presentation |
^ self enabledCondition: [ :presentation |
presentation selection notNil and: [
selectionCondition cull: presentation selection ]]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Git integration for Pharo
Iceberg is a set of tools that allow to handle git repositories directly from the Pharo image. Right now we support only git, but Iceberg is designed to allow other code versioning systems in the future. The final aim of Iceberg is to become the default repository for Pharo-core, allowing for smoother and faster integration of contributions, as well as better branch and version management.
Iceberg is a set of tools that allow one to handle git repositories directly from a Pharo image. Right now we support only git, but Iceberg is designed to allow other code versioning systems in the future. The final aim of Iceberg is to become the default repository manager for Pharo-core, allowing for smoother and faster integration of contributions, as well as better branch and version management.

This is still a prototype and is not yet ready for production, but you are invited to try it and provide feedback. Right now it has been tested in linux and mac environments, it would be great if you can share your experience using Iceberg on your Windows computer.

## Instalation (for development)
## Installation (for development)
### Prerequisites
- Latest Pharo 6.0 image.
- Git v1.9.1 or later (we are working to remove this requirement in the near future)
- An [SSH Key](https://help.github.com/articles/generating-an-ssh-key/) (again, not far from now this will not be mandatory any more ... but in this case I would still recommend to use an SSH Key as the preferred way to authenticate to your Github account.)

### Install Iceberg
Execute the following expression:
```
Metacello new
baseline: 'Iceberg';
Expand Down

0 comments on commit 28bc3e1

Please sign in to comment.