Skip to content

Commit

Permalink
Merge pull request #300 from hpi-swa-teaching/develop
Browse files Browse the repository at this point in the history
Submission
  • Loading branch information
LinqLover authored Oct 7, 2020
2 parents 2704d73 + b746f42 commit b00e4a0
Show file tree
Hide file tree
Showing 737 changed files with 3,746 additions and 1,358 deletions.
13 changes: 4 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,10 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
- OS: [e.g. Windosws]
- Version [e.g. 10]
- Squeak version [e.g. 5.3]


**Additional context**
Add any other context about the problem here.
5 changes: 3 additions & 2 deletions .github/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
strategy:
matrix:
# Select platform(s)
os: [ ubuntu-latest, macos-latest ]
os: [ ubuntu-latest ]
# Select compatible Smalltalk image(s)
smalltalk: [ Squeak64-trunk, Squeak64-5.3, Squeak64-5.2 ]
# currently not running on Squeak64-trunk
smalltalk: [ Squeak64-5.3, Squeak64-5.2 ]
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
62 changes: 62 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: false

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- "User Story"
- IMPORTANT
- bug
- "good first issue"

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false

# Label to use when marking as stale
staleLabel: stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It may be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when removing the stale label.
# unmarkComment: >
# ping

# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# This issue has been closed due to inactivity.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 1

# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
28 changes: 28 additions & 0 deletions .github/workflows/ci-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI-Lint

on:
push:
branches:
- develop
- master
pull_request:
branches:
- master
- develop

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
smalltalk: [ Squeak64-5.2 ]
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalk.lint.ston
shell: bash
timeout-minutes: 15
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

name: CI

on:
Expand All @@ -15,10 +16,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Select platform(s)
os: [ ubuntu-latest, macos-latest ]
# Select compatible Smalltalk image(s)
smalltalk: [ Squeak64-trunk, Squeak64-5.3, Squeak64-5.2 ]
os: [ ubuntu-latest ]
smalltalk: [ Squeak64-5.2 ]
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -27,3 +26,5 @@ jobs:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
timeout-minutes: 15
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47 changes: 47 additions & 0 deletions .github/workflows/release-trunk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CI-Release-Trunk
on:
push:
branches:
- develop

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
smalltalk: [ Squeak64-5.3 ]
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalk.release.ston
timeout-minutes: 15
- name: Get current time
uses: 1466587594/get-current-time@v1
id: current-time
with:
format: YYYYMMDD-HH
utcOffset: "+01:00"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: Trunk${{ steps.current-time.outputs.formattedTime }}
release_name: Trunk Release ${{ steps.current-time.outputs.formattedTime }}
draft: false
prerelease: true
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: /home/runner/.smalltalkCI/_builds/TelegramClient.sar
asset_name: TelegramClient.sar
asset_content_type: application/zip
47 changes: 47 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CI-Release
on:
push:
branches:
- master

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
smalltalk: [ Squeak64-5.3 ]
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalk.release.ston
timeout-minutes: 15
- name: Get current time
uses: 1466587594/get-current-time@v1
id: current-time
with:
format: YYYYMMDD-HH
utcOffset: "+01:00"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.current-time.outputs.formattedTime }}
release_name: Release ${{ steps.current-time.outputs.formattedTime }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: /home/runner/.smalltalkCI/_builds/TelegramClient.sar
asset_name: TelegramClient.sar
asset_content_type: application/zip
17 changes: 17 additions & 0 deletions .smalltalk.lint.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'TelegramClient',
#platforms : [ #squeak ],
#directory : 'packages',
#load : [ 'tests' ],
#useLatestMetacello : true
}
],
#preLoading : [
'scripts/preLoading.st'
],
#testing : {
#classes : [ #TCTLinterTests ]
}
}
16 changes: 16 additions & 0 deletions .smalltalk.release.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SmalltalkCISpec {

#preLoading : 'scripts/preLoading.st',
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'TelegramClient',
#platforms : [ #squeak ],
#directory : 'packages',
#load : [ 'tests' ]
}
],
#testing : {
#classes : [ #TCTSarFileGenerator ],
#defaultTimeout : 60
}
}
11 changes: 10 additions & 1 deletion .smalltalk.ston
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,14 @@ SmalltalkCISpec {
#directory : 'packages',
#load : [ 'tests' ]
}
]
],
#testing : {
#coverage : {
#packages : [ 'TelegramClient-Core.*' ]
},
#exclude : {
#classes : [ #TCTLinterTests ]
},
#defaultTimeout : 60
}
}
8 changes: 4 additions & 4 deletions .squot
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OrderedDictionary {
'packages\/TelegramClient-Core.package' : #SquotCypressCodeSerializer,
'packages\/TelegramClient-Tests.package' : #SquotCypressCodeSerializer,
'packages\/BaselineOfTelegramClient.package' : #SquotCypressCodeSerializer,
'TelegramClient-UI.package' : #SquotCypressCodeSerializer
'packages/TelegramClient-Core.package' : #SquotCypressCodeSerializer,
'packages/TelegramClient-Tests.package' : #SquotCypressCodeSerializer,
'packages/BaselineOfTelegramClient.package' : #SquotCypressCodeSerializer,
'packages/TelegramClient-UI.package' : #SquotCypressCodeSerializer
}
Loading

0 comments on commit b00e4a0

Please sign in to comment.