Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: yegor256/rultor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.75.2
Choose a base ref
...
head repository: yegor256/rultor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 361 changed files with 5,542 additions and 8,869 deletions.
3 changes: 3 additions & 0 deletions .0pdd.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
errors:
- yegor256@gmail.com
# alerts:
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -6,4 +6,4 @@
*.java ident
*.xml ident

*.png binary
*.png binary
25 changes: 25 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: actionlint
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
actionlint:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash
25 changes: 25 additions & 0 deletions .github/workflows/bashate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: bashate
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
bashate:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: pip install bashate
- run: |
readarray -t files < <(find . -name '*.sh')
bashate -i E006,E003 "${files[@]}"
12 changes: 8 additions & 4 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: codecov
on:
'on':
push:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-22.04
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
@@ -20,8 +24,8 @@ jobs:
restore-keys: |
maven-
- run: mvn install -Pjacoco
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./target/site/jacoco/jacoco.xml
files: ./target/site/jacoco/jacoco.xml
fail_ci_if_error: true
19 changes: 19 additions & 0 deletions .github/workflows/copyrights.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: copyrights
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
copyrights:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: yegor256/copyrights-action@0.0.8
8 changes: 6 additions & 2 deletions .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: mvn
on:
'on':
push:
branches:
- master
@@ -9,10 +12,11 @@ on:
- master
jobs:
mvn:
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
os: [ubuntu-24.04]
java: [11, 17]
steps:
- uses: actions/checkout@v4
8 changes: 6 additions & 2 deletions .github/workflows/pdd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: pdd
on:
'on':
push:
branches:
- master
@@ -9,7 +12,8 @@ on:
- master
jobs:
pdd:
runs-on: ubuntu-22.04
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: volodya-lombrozo/pdd-action@master
19 changes: 19 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: reuse
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
reuse:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: fsfe/reuse-action@v5
19 changes: 19 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: shellcheck
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
shellcheck:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ludeeus/action-shellcheck@master
8 changes: 6 additions & 2 deletions .github/workflows/xcop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: xcop
on:
'on':
push:
branches:
- master
@@ -9,7 +12,8 @@ on:
- master
jobs:
xcop:
runs-on: ubuntu-22.04
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: g4s8/xcop-action@master
19 changes: 19 additions & 0 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
name: yamllint
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
yamllint:
timeout-minutes: 15
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ibiqlik/action-yamllint@v3
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -9,4 +9,4 @@ _site
.settings
Gemfile.lock
ajcore*
.jekyll-cache/
.jekyll-cache/
11 changes: 9 additions & 2 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# SPDX-FileCopyrightText: Copyright (c) 2009-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
docker:
image: yegor256/rultor-image:1.22.0
image: yegor256/rultor-java
readers:
- "urn:github:526301"
assets:
netrc: yegor256/home#assets/heroku-netrc
secring.gpg: yegor256/home#assets/secring.gpg
settings.xml: yegor256/home#assets/rultor/settings.xml
pubring.gpg: yegor256/home#assets/pubring.gpg
@@ -20,6 +25,7 @@ release:
sensitive:
- settings.xml
script: |-
mv ../netrc ~/.netrc
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
echo "Author of the request: ${author}"
mvn versions:set "-DnewVersion=${tag}" --quiet
@@ -34,12 +40,13 @@ release:
git add settings.xml
git commit -m 'settings.xml'
git remote add dokku dokku@dokku.rultor.com:rultor
git remote add heroku https://git.heroku.com/rultor.git
rm -rf ~/.ssh
mkdir ~/.ssh
mv ../id_rsa ../id_rsa.pub ~/.ssh
chmod -R 600 ~/.ssh/*
echo -e "Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" > ~/.ssh/config
git push -f dokku $(git symbolic-ref --short HEAD):master
git push -f heroku $(git symbolic-ref --short HEAD):master
git reset HEAD~1
rm -rf settings.xml
curl --insecure -f --connect-timeout 30 --retry 8 --retry-delay 60 https://www.rultor.com
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009-2024 Yegor Bugayenko
Copyright (c) 2009-2025 Yegor Bugayenko
All rights reserved.

Redistribution and use in source and binary forms, with or without
27 changes: 27 additions & 0 deletions LICENSES/MIT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2009-2025 Yegor Bugayenko
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met: 1) Redistributions of source code must retain the above
copyright notice, this list of conditions and the following
disclaimer. 2) Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution. 3) Neither the name of the rultor.com nor
the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
1 change: 0 additions & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
web: java -Dfile.encoding=UTF-8 -Xmx2g -XX:+UnlockExperimentalVMOptions -cp target/rultor.jar:target/deps/* com.rultor.Entry --port=${PORT} --threads=80 --max-latency=45000

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -19,6 +19,8 @@ any of your GitHub issue and the conversation will start.

Full documentation is at [doc.rultor.com](https://doc.rultor.com)

[Schema](rultor_schema.json) for .rultor.yml file

Need help online? Try our [Telegram group](https://t.me/zerocracy).

These blog posts may be helpful:
29 changes: 29 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# SPDX-FileCopyrightText: Copyright (c) 2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT

version = 1
[[annotations]]
path = [
"**/*.csv",
"**/*.jpg",
"**/*.json",
"**/*.md",
"**/*.pdf",
"**/*.png",
"**/*.svg",
"**/*.txt",
"**/*.vm",
"**/.gitignore",
"**/CNAME",
".gitattributes",
".gitignore",
".gitleaksignore",
".pdd",
".xcop",
"Gemfile.lock",
"README.md",
"renovate.json",
]
precedence = "override"
SPDX-FileCopyrightText = "Copyright (c) 2025 Yegor Bugayenko"
SPDX-License-Identifier = "MIT"
8 changes: 4 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@
"healthchecks": {
"web": [
{
"type": "startup",
"name": "web check",
"attempts": 3,
"description": "Checking if the app responds to the /robots.txt endpoint",
"name": "web check",
"path": "/robots.txt",
"attempts": 3
"type": "startup"
}
]
}
}
}
16 changes: 0 additions & 16 deletions circle.yml

This file was deleted.

Loading