Skip to content

Commit 49a8626

Browse files
Merge pull request #373 from moosetechnology/development
Update master for release
2 parents 50db40a + 80ba90f commit 49a8626

447 files changed

Lines changed: 16024 additions & 8097 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/continuous.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Continuous
4+
5+
env:
6+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7+
8+
# Controls when the action will run. Triggers the workflow on push or pull request
9+
# events but only for the development branch
10+
on:
11+
push:
12+
branches:
13+
- development
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
env:
19+
PROJECT_NAME: ${{ matrix.smalltalk }}-Midas
20+
strategy:
21+
matrix:
22+
smalltalk: [ Pharo64-9.0 ]
23+
name: ${{ matrix.smalltalk }}
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: hpi-swa/setup-smalltalkCI@v1
27+
with:
28+
smalltalk-image: ${{ matrix.smalltalk }}
29+
- run: smalltalkci -s ${{ matrix.smalltalk }}
30+
shell: bash
31+
timeout-minutes: 15
32+
33+
- name: Coveralls
34+
uses: coverallsapp/github-action@master
35+
with:
36+
github-token: ${{ secrets.GITHUB_TOKEN }}
37+
38+
- name: package
39+
run: |
40+
mv /home/runner/.smalltalkCI/_builds/* .
41+
mv TravisCI.image $PROJECT_NAME.image
42+
mv TravisCI.changes $PROJECT_NAME.changes
43+
zip -r $PROJECT_NAME.zip $PROJECT_NAME.image $PROJECT_NAME.changes *.sources pharo.version
44+
ls
45+
46+
- name: Update Release
47+
# You may pin to the exact commit or the version.
48+
# uses: johnwbyrd/update-release@1d5ec4791e40507e5eca3b4dbf90f0b27e7e4979
49+
uses: johnwbyrd/update-release@v1.0.0
50+
with:
51+
release: 'continuous'
52+
token: ${{ secrets.GITHUB_TOKEN }}
53+
files: ${{ env.PROJECT_NAME }}.zip

.github/workflows/daily.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Daily-development
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
env:
11+
PROJECT_NAME: Midas-development
12+
strategy:
13+
matrix:
14+
smalltalk: [ Pharo64-9.0 ]
15+
name: ${{ matrix.smalltalk }}
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: hpi-swa/setup-smalltalkCI@v1
19+
with:
20+
smalltalk-image: ${{ matrix.smalltalk }}
21+
- run: smalltalkci -s ${{ matrix.smalltalk }}
22+
shell: bash
23+
timeout-minutes: 15
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the development branch
7+
on:
8+
pull_request:
9+
branches: [development]
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
smalltalk: [ Pharo64-9.0 ]
17+
name: ${{ matrix.smalltalk }}
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: hpi-swa/setup-smalltalkCI@v1
21+
with:
22+
smalltalk-image: ${{ matrix.smalltalk }}
23+
- run: smalltalkci -s ${{ matrix.smalltalk }}
24+
shell: bash
25+
timeout-minutes: 15
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.smalltalk.ston

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
SmalltalkCISpec {
22
#loading : [
33
SCIMetacelloLoadSpec {
4-
#baseline : 'Midas',
4+
#baseline : 'MooseIDE',
55
#directory : 'src',
66
#load : [ 'default' ],
77
#platforms : [ #pharo ],
88
#onConflict : #useIncoming,
99
#onUpgrade : #useIncoming
1010
}
11-
]
11+
],
12+
#testing : {
13+
#exclude : {
14+
#classes : [ #MiInspectorBrowserTest ]
15+
},
16+
#coverage : {
17+
#packages : [ 'MooseIDE.*' ],
18+
#format : #lcov
19+
}
20+
}
1221
}

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
1-
# Midas
1+
# MooseIDE
22

3-
Master: [![Build Pass](https://api.travis-ci.com/moosetechnology/Midas.svg?branch=master)](https://travis-ci.com/github/moosetechnology/Midas)
4-
[![Moose version](https://img.shields.io/badge/Moose-8-%23aac9ff.svg)](https://github.com/moosetechnology/Moose)
3+
[![Coverage Status](https://coveralls.io/repos/github/moosetechnology/MooseIDE/badge.svg)](https://coveralls.io/github/moosetechnology/MooseIDE) [![development](https://github.com/moosetechnology/MooseIDE/actions/workflows/daily.yml/badge.svg)](https://github.com/moosetechnology/MooseIDE/actions/workflows/daily.yml) [![Moose version](https://img.shields.io/badge/Moose-8-%23aac9ff.svg)](https://github.com/moosetechnology/Moose)
54

65
New Tools for Moose
76

87
## Installation
98

109
### From the Pharo Launcher
1110

12-
![downloadMidas](https://user-images.githubusercontent.com/6225039/83118958-5bf9e680-a0cf-11ea-8a17-66d101995d27.gif)
11+
1. **New** (image)
12+
2. **Official distributions**
13+
3. **Moose Suite 9.0 (development)**
14+
4. (optionally change **Image name:**)
15+
5. **Create image**
16+
17+
![Screen capture of Pharo Launcher to make MooseIDE image](https://user-images.githubusercontent.com/33934979/124268297-9e46f000-db39-11eb-8626-ab578dd16ffb.png)
1318

1419
### From a Pharo Image
1520

1621
```smalltalk
17-
Metacello new
18-
baseline: 'Midas';
19-
repository: 'github://moosetechnology/Midas:master/src';
20-
load.
22+
[ Metacello new
23+
baseline: 'Moose';
24+
repository: 'github://moosetechnology/MooseIDE:development/src';
25+
load ]
26+
on: MCMergeOrLoadWarning
27+
do: [ :warning | warning load ]
2128
```

roadmapMoose.md

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
(updated on oct. 13, 2021)
2+
3+
# QueryBrowser
4+
5+
## Result list
6+
7+
bottom list is currently sorted by "kind of entities" and is "read-only"
8+
9+
- we want also a hierarchical tree of entities:
10+
```
11+
> package1
12+
> class11
13+
> class12
14+
method121
15+
method122
16+
> package2
17+
```
18+
(note: with workspace browser, this part could be detached from the QueryBrowser to become a simple EntityListPresenter ...)
19+
20+
# Durden workspace
21+
22+
(Santi's stuff)
23+
It allows to group several tools in one window.
24+
25+
It is a MiBrowser, so it listens and writes on bus(es)
26+
27+
It has an "internal bus" that it's children browsers listen and write
28+
29+
The workspace make the bridge between external bus(es) and its internal bus:
30+
- takes incoming entities on external bus and send them on internal bus,
31+
- takes entities on internal bus to propagate them on external bus(es).
32+
- propagation on internal bus is automatic,
33+
- propagation to external bus(es) is on demand
34+
35+
# Property Browser
36+
37+
A tool to define properties. A property has:
38+
- a name
39+
- a boolean query to decide if an entity has this property or not
40+
- a color (optional?)
41+
42+
Note: Property is a kind of "virtual tag", or a tag computed on the fly but not stored in the model
43+
44+
The query will be taken from the Query Browser, for example:
45+
Property: name="someName", color=red, query=Q1
46+
47+
So we need a mechanism to share queries between different tools.
48+
This tool can ask the QueryBrowser, what are the queries available and allow to select one of the query to create a property from it
49+
50+
# TagBrowser
51+
52+
Possibility to define tags from properties
53+
54+
# Hierarchical Map with properties
55+
56+
Displays incoming entities in a hierarchicalView https://github.com/ObjectProfile/HierarchicalVisualizations
57+
58+
Has a list of properties (taken from PropertyBrowser)
59+
60+
For each displayed entity, if it matches one property query, will give the color of the property to the entity.
61+
62+
If an entity match several queries, 2 options:
63+
- give a specific color (black, gray, red)
64+
- choose the first one
65+
66+
# Distribution Map
67+
68+
We want a distribution map browser
69+
70+
Probably based on the prototype in https://github.com/NicolasAnquetil/HierarchicalVisualizations, not on the telescope one
71+
72+
Will work somehow like the **Hierarchical Map with properties** for the properties, but the Distribution map wants exaclty 2 levels of entities: Containers and members
73+
So we need to force this:
74+
- entities coming from the bus should be of that form => user responsible for selectyng the right entities with the proper query
75+
- entities coming from the bu are the containers and the tool accept one query that will produce members for each of these incoming container
76+
77+
# Favorites Browser
78+
79+
A tool to record some favorites "things" that the user like:
80+
- launching a browser
81+
- running a favorite query and automatically propagate the result on the bus(es)
82+
locations)
83+
- running a Property ???
84+
85+
# System complexity
86+
87+
Recreate the system complexity browser (3 metrics displayed with width, height, and color)
88+
Entites are displayed in a tree
89+
90+
Possibly accept colored properties (with only 2 metrics with width and height)
91+
92+
Starting at a given level, containement is not shown as a tree, but as a HierarchicalVisualization
93+
94+
# Double Dispatch buses
95+
96+
When a tool wants to send an entity on a bus, it should ask this entity what bus to use.
97+
Their will be buses specialiazed for all types of entities (including a generic bus "specialized" for MooseEntity)
98+
99+
And when a tool is expecting entities of a special type, it should ask the class of this entity what bus can carry it and then ask the application for available buses of this type.
100+
101+
We will still be able to have several buses for the same type (see issue: (https://github.com/moosetechnology/MooseIDE/issues/320)[https://github.com/moosetechnology/MooseIDE/issues/320]
102+
103+
# Propagation strategy buses
104+
105+
We could have at least 3 kind of buses:
106+
107+
- push bus: when data is written on the bus, it immediately transmits it to all tools attached to it
108+
- delayed bus: when data is written on the bus, it stores it and only transmits when there is an explicit "flush" from the producer (allow to work with the "Propagate" button of the tools)
109+
- pull buses, bus stores data and does not transmit it unless explicitly asked by a receiver tool
110+
111+
The last 2 are a bit similar: one is a flush from the producer to all consumers the other is a flush from the consumer only to itself.
112+
113+
This will allow to have:
114+
- an internal bus for MooseWorkspace that transmit data immediately to all tools in the workspace (*push* internal bus) ;
115+
- bus for separate tools that tranmit only on request (*delayed bus* + Propagate button) ; and
116+
- a bus for some specific cases where we want to share data on demand:
117+
- to share queries (not their result, but the query itself),
118+
- share the properties defined in **Property Browser**
119+
- for santi to share is configurations
120+
121+

0 commit comments

Comments
 (0)