Skip to content

Commit f0ab0d6

Browse files
authored
Merge pull request #46 from ba-st/pharo_10
Pharo 10
2 parents 1e2c0ef + 2ce36bb commit f0ab0d6

31 files changed

+413
-122
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
*.st linguist-language=Smalltalk
2+
*.st eol=lf
3+
*.st text diff

.github/workflows/build.yml

-26
This file was deleted.

.github/workflows/loading-groups.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Baseline groups
2+
3+
on: [push,pull_request,workflow_dispatch]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0 ]
12+
load-spec: [ core, extended, deployment, tools, development]
13+
name: ${{ matrix.smalltalk }} + ${{ matrix.load-spec }}
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: hpi-swa/setup-smalltalkCI@v1
17+
with:
18+
smalltalk-image: ${{ matrix.smalltalk }}
19+
- name: Load group in image
20+
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.loading.${{ matrix.load-spec }}.ston
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
timeout-minutes: 15

.github/workflows/markdown-lint.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Markdown Lint
2+
on: [push,pull_request,workflow_dispatch]
3+
jobs:
4+
remark-lint:
5+
name: runner / markdownlint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: markdownlint
10+
uses: reviewdog/[email protected]
11+
with:
12+
github_token: ${{ secrets.GITHUB_TOKEN }}
13+
fail_on_error: true
14+
reporter: github-pr-review
File renamed without changes.

.github/workflows/unit-tests.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Unit Tests
2+
3+
on: [push,pull_request,workflow_dispatch]
4+
5+
jobs:
6+
unit-tests:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
smalltalk: [ Pharo64-10, Pharo64-8.0, Pharo64-9.0 ]
11+
name: ${{ matrix.smalltalk }}
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: hpi-swa/setup-smalltalkCI@v1
15+
with:
16+
smalltalk-image: ${{ matrix.smalltalk }}
17+
- name: Load Image and Run Tests
18+
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.unit-tests.ston
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
timeout-minutes: 15
22+
- name: Upload coverage to Codecov
23+
uses: codecov/codecov-action@v1
24+
with:
25+
name: ${{matrix.os}}-${{matrix.smalltalk}}
26+
token: ${{ secrets.CODECOV_TOKEN }}

.smalltalkci/.loading.core.ston

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'Kepler',
5+
#directory : '../source',
6+
#load : [ 'Core' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}

.smalltalkci/.loading.deployment.ston

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'Kepler',
5+
#directory : '../source',
6+
#load : [ 'Deployment' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'Kepler',
5+
#directory : '../source',
6+
#load : [ 'Development' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#coverage : {
12+
#packages : [ 'Kepler*' ],
13+
#format: #lcov
14+
}
15+
}
16+
}

.smalltalkci/.loading.extended.ston

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'Kepler',
5+
#directory : '../source',
6+
#load : [ 'Extended' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}

.smalltalkci/.loading.tools.ston

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'Kepler',
5+
#directory : '../source',
6+
#load : [ 'Tools' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}

.smalltalk.ston .smalltalkci/.unit-tests.ston

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ SmalltalkCISpec {
22
#loading : [
33
SCIMetacelloLoadSpec {
44
#baseline : 'Kepler',
5-
#directory : 'source',
5+
#directory : '../source',
66
#load : [ 'CI' ],
77
#platforms : [ #pharo ]
88
}
99
],
1010
#testing : {
1111
#coverage : {
12-
#packages : [ 'Kepler*' ]
12+
#packages : [ 'Kepler*' ],
13+
#format: #lcov
1314
}
1415
}
1516
}

CONTRIBUTING.md

+26-20
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,38 @@
1-
Contributing
2-
============
1+
# Contributing
32

4-
There's several ways to contribute to the project: reporting bugs, sending feedback, proposing ideas for new features, fixing or adding documentation, promoting the project, or even contributing code.
3+
There are several ways to contribute to the project: reporting bugs, sending
4+
feedback, proposing ideas for new features, fixing or adding documentation,
5+
promoting the project, or even contributing code.
56

67
## Reporting issues
78

89
You can report issues [here](https://github.com/ba-st/Kepler/issues/new)
910

1011
## Contributing Code
12+
1113
- This project is MIT licensed, so any code contribution MUST be under the same license.
12-
- This project uses [Semantic Versioning](http://semver.org/), so keep it in mind when you make backwards-incompatible changes. If some backwards incompatible change is made the major version MUST be increased.
13-
- The source code is hosted in this repository using the Tonel format in the `source` folder.
14-
- The `release-candidate` branch contains the latest changes and should always be in a releasable state.
14+
- This project uses [Semantic Versioning](http://semver.org/), so keep it in
15+
mind when you make backwards-incompatible changes. If some backwards
16+
incompatible change is made the major version MUST be increased.
17+
- The source code is hosted in this repository using the Tonel format in the
18+
`source` folder.
19+
- The `release-candidate` branch contains the latest changes and should always
20+
be in a releasable state.
1521
- Feel free to send pull requests or fork the project.
16-
- Code contributions without test cases have a lower probability of being merged into the main branch.
17-
18-
### Using Iceberg
19-
1. Download a [Pharo Image and VM](https://get.pharo.org/64)
20-
2. Clone the project or your fork using Iceberg
21-
3. Open the Working Copy and using the contextual menu select `Metacello -> Install baseline...`
22-
4. Input `Development`
23-
5. This will load the base code and the test cases
24-
6. Create a new branch to host your code changes
25-
7. Do the changes
26-
8. Run the test cases
27-
9. Commit and push your changes to the branch using the Iceberg UI
28-
10. Create a Pull Request against the `release-candidate` branch
22+
- Code contributions without test cases have a lower probability of being merged
23+
into the main branch.
24+
25+
1. [Load the project code in a Pharo image](docs/how-to/how-to-load-in-pharo.md)
26+
2. Create a new branch to host your code changes
27+
3. Do the changes
28+
4. Run the test cases
29+
5. Commit and push your changes to the branch using the Iceberg UI. You may need
30+
to add your fork if lacking the required permissions to push to the main repo.
31+
6. Create a Pull Request against the `release-candidate` branch
2932

3033
## Contributing documentation
3134

32-
The project documentation is maintained in this repository in the `docs` folder and licensed under CC BY-SA 4.0. To contribute some documentation or improve the existing, feel free to create a branch or fork this repository, make your changes and send a pull request.
35+
The project documentation is maintained in this repository in the `docs` folder
36+
and licensed under CC BY-SA 4.0. To contribute some documentation or improve the
37+
existing, feel free to create a branch or fork this repository, make your
38+
changes and send a pull request.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2020 Buenos Aires Smalltalk Contributors
3+
Copyright (c) 2017-2022 Buenos Aires Smalltalk Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+25-18
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
1-
<p align="center"><img src="assets/logos/128.png">
2-
<h1 align="center">Kepler</h1>
3-
<p align="center">
4-
Kepler provides an architecture to organize your software as a set of loose-coupled systems, where each can be easily accessed and has a well-defined responsibility.
5-
<br>
6-
<a href="docs/"><strong>Explore the docs »</strong></a>
7-
<br>
8-
<br>
9-
<a href="https://github.com/ba-st/Kepler/issues/new?labels=Type%3A+Defect">Report a defect</a>
10-
|
11-
<a href="https://github.com/ba-st/Kepler/issues/new?labels=Type%3A+Feature">Request feature</a>
12-
</p>
13-
</p>
1+
# Kepler
142

15-
[![GitHub release](https://img.shields.io/github/release/ba-st/Kepler.svg)](https://github.com/ba-st/Kepler/releases/latest)
16-
[![Build Status](https://github.com/ba-st/Kepler/workflows/Build/badge.svg?branch=release-candidate)](https://github.com/ba-st/Kepler/actions?query=workflow%3ABuild)
3+
![Logo](assets/logo.svg)
4+
5+
Kepler provides an architecture to organize your software as a set of
6+
loosely-coupled systems, where each can be easily accessed and has a
7+
well-defined responsibility.
8+
9+
[![Unit Tests](https://github.com/ba-st/Kepler/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/ba-st/Kepler/actions/workflows/unit-tests.yml/badge.svg)
1710
[![Coverage Status](https://codecov.io/github/ba-st/Kepler/coverage.svg?branch=release-candidate)](https://codecov.io/gh/ba-st/Kepler/branch/release-candidate)
18-
[![Pharo 7.0](https://img.shields.io/badge/Pharo-7.0-informational)](https://pharo.org)
11+
[![Baseline Groups](https://github.com/ba-st/Kepler/actions/workflows/loading-groups.yml/badge.svg)](https://github.com/ba-st/Kepler/actions/workflows/loading-groups.yml)
12+
[![Markdown Lint](https://github.com/ba-st/Kepler/actions/workflows/markdown-lint.yml/badge.svg)](https://github.com/ba-st/Kepler/actions/workflows/markdown-lint.yml)
13+
14+
[![GitHub release](https://img.shields.io/github/release/ba-st/Kepler.svg)](https://github.com/ba-st/Kepler/releases/latest)
1915
[![Pharo 8.0](https://img.shields.io/badge/Pharo-8.0-informational)](https://pharo.org)
16+
[![Pharo 9.0](https://img.shields.io/badge/Pharo-9.0-informational)](https://pharo.org)
17+
[![Pharo 10](https://img.shields.io/badge/Pharo-10-informational)](https://pharo.org)
18+
19+
> *Name origin*: Mathematician and astronomer [Johannes Kepler](https://en.wikipedia.org/wiki/Johannes_Kepler)
20+
> is best known for his laws of planetary motion that describes how planets move
21+
> around the Sun.
2022
21-
> *Name origin*: Mathematician and astronomer [Johannes Kepler](https://en.wikipedia.org/wiki/Johannes_Kepler) is best known for his laws of planetary motion that describes how planets move around the Sun.
23+
## Quick links
24+
25+
- [**Explore the docs**](docs/README.md)
26+
- [Report a defect](https://github.com/ba-st/Kepler/issues/new?labels=Type%3A+Defect)
27+
- [Request a feature](https://github.com/ba-st/Kepler/issues/new?labels=Type%3A+Feature)
2228

2329
## License
30+
2431
- The code is licensed under [MIT](LICENSE).
2532
- The documentation is licensed under [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/).
2633

2734
## Installation
2835

29-
To load the project in a Pharo image, or declare it as a dependency of your own project follow this [instructions](docs/Installation.md).
36+
To load the project in a Pharo image follow this [instructions](docs/how-to/how-to-load-in-pharo.md).
3037

3138
## Contributing
3239

0 commit comments

Comments
 (0)