Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
f9f9496
Create keybase.txt
EmilSayahi Jul 6, 2018
ee44edc
Added gifsound
Aug 27, 2018
4648e66
Move gifsound
Aug 27, 2018
0b2103c
Update index.html
Oct 8, 2019
dadf066
Delete CNAME
Oct 8, 2019
cfd9ed9
Add .whitesource configuration file
mend-bolt-for-github[bot] Dec 30, 2019
4968f65
Add upload directory
Apr 5, 2020
888414f
Merge pull request #1 from MadeByEmil/whitesource/configure
Apr 5, 2020
12ffbe4
Update JQuery, add file
Apr 5, 2020
c6671aa
Removing content (moving to 'up' repository)
Apr 5, 2020
a7f7aae
Remove frontmatter from index.html
Apr 5, 2020
97e58e5
Added branding files
Jun 4, 2020
b0409e0
Update gh-pages.yml, .gitignore, and 115 more files...
emmyoh Feb 27, 2021
853e254
Resolve path to grabber
Feb 27, 2021
61f062e
[ImgBot] Optimize images
ImgBotApp Feb 27, 2021
90a807a
Once again update path to grabber
Feb 27, 2021
af0a2c8
Merge pull request #4 from MadeByEmil/imgbot
Feb 27, 2021
143ea17
Correct path to Mokk
Feb 27, 2021
1d75376
I am a fool
Feb 28, 2021
8109a42
Huh?
Feb 28, 2021
7892c05
Some more fixes
emmyoh Feb 28, 2021
9c465d0
Building locally
emmyoh Feb 28, 2021
b84c86a
More work
emmyoh Feb 28, 2021
2c8f4c5
More work
emmyoh Feb 28, 2021
c540547
[ImgBot] Optimize images
ImgBotApp Feb 28, 2021
cc978d3
More work
emmyoh Feb 28, 2021
ecd4813
More work
emmyoh Feb 28, 2021
26b4c93
Merge pull request #5 from MadeByEmil/imgbot
Feb 28, 2021
6123e9b
More work
emmyoh Mar 1, 2021
d61ebc3
More work
emmyoh Mar 1, 2021
e4efbaf
More work
emmyoh Mar 1, 2021
6875eb6
Automatically enforce Rust styleguide
Mar 1, 2021
a21bc2e
More work
emmyoh Mar 1, 2021
bf07daf
Merge branch 'master' of https://github.com/MadeByEmil/MadeByEmil.git…
emmyoh Mar 1, 2021
c730c38
Automatically approved suggested code corrections by linter
Mar 1, 2021
e932edf
Switch to transparent logo
Mar 1, 2021
a99848a
Made buttons clickable
emmyoh Mar 1, 2021
e96395b
Remove mistake
emmyoh Mar 1, 2021
f271925
Keybase verification
emmyoh Mar 1, 2021
40a61b1
Rename organization
emmyoh Mar 3, 2021
eea39f7
Fix card footer width
Mar 14, 2021
17770df
Change update schedule
Mar 14, 2021
a3761c5
Fit with latest Mokk standard
Mar 28, 2021
5014135
Useful logging in workflows
Mar 28, 2021
bf251e1
Remove noncompliance
Mar 28, 2021
dcffa75
Fix header
Mar 28, 2021
ee8fc99
Fix favicons
Mar 28, 2021
71e0065
Update date-time formatting
Mar 28, 2021
853ce7b
Disable markdown
Mar 28, 2021
2ec3eb7
Sort repositories by date
Mar 28, 2021
dc4c36f
Sort repositories by date (2/?)
Mar 28, 2021
3d1c412
Reverse repository sorting
Mar 28, 2021
388eeb1
Sorting by time as well as date
Mar 29, 2021
8491f96
'repo' → 'repository'
Mar 29, 2021
61a2fa4
Create workflow to fix grabber code
Mar 29, 2021
e67e7cf
Give token to workflow
Mar 29, 2021
cb30fbd
Add renovate.json
renovate-bot Jun 6, 2021
96a83b9
Update octocrab requirement from 0.8.11 to 0.11.0 in /grabber
dependabot[bot] Aug 9, 2021
6b5b330
Merge pull request #7 from Dirout/renovate/configure
emmyoh Aug 14, 2021
8068cfe
Fix rendering on Firefox
emmyoh Aug 14, 2021
c74508d
Update Rust crate serde_yaml to 0.8.17
renovate-bot Aug 14, 2021
a777e41
Merge pull request #12 from Dirout/dependabot/cargo/grabber/octocrab-…
emmyoh Aug 14, 2021
35ca92c
Merge pull request #14 from Dirout/renovate/serde_yaml-0.x
emmyoh Aug 14, 2021
9ed7352
Update Rust crate serde to 1.0.127
renovate-bot Aug 14, 2021
50c1e04
Merge pull request #13 from Dirout/renovate/serde-1.x
emmyoh Aug 14, 2021
c3e81bb
Fix grammar presenting 'last updated' DateTime
emmyoh Aug 14, 2021
74cf253
Update octocrab requirement from 0.11.0 to 0.15.3 in /grabber
dependabot[bot] Dec 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "cargo" # See documentation for possible values
directory: "/grabber/" # Location of package manifests
schedule:
interval: "daily"
17 changes: 17 additions & 0 deletions .github/workflows/annotate_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: push
name: Annotate code
jobs:
clippy_check:
name: Annotate code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --manifest-path grabber/Cargo.toml --all-features
15 changes: 15 additions & 0 deletions .github/workflows/audit_on_change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Dependency security audit (on change)
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
name: Security audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/check_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on: [push]

name: Evaluate codebase

jobs:
code_check:
name: Evaluate codebase
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy, rustfmt
profile: minimal
- name: Check codebase is properly formatted
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path grabber/Cargo.toml -- --check
- name: Check codebase using linter
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path grabber/Cargo.toml --all-targets --all-features -- -D warnings
38 changes: 38 additions & 0 deletions .github/workflows/fix_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
push:
branches:
- master

name: Revise codebase

jobs:
code_fix:
name: Revise codebase
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: clippy, rustfmt
- name: Install 'cargo-fix'
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-fix
- name: Revise code files
uses: actions-rs/cargo@v1
with:
command: fix
args: --manifest-path grabber/Cargo.toml
- name: Commit changes to code, if any
run: |
git config --global user.name 'Dirout'
git config --global user.email 'Dirout@users.noreply.github.com'
git diff --quiet && git diff --staged --quiet || git commit -am "Automatically apply compiler suggestions"
git push
33 changes: 33 additions & 0 deletions .github/workflows/format_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
push:
branches:
- master

name: Format codebase

jobs:
code_format:
name: Format codebase
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: clippy, rustfmt
- name: Format code files
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path grabber/Cargo.toml
- name: Commit changes to code, if any
run: |
git config --global user.name 'Dirout'
git config --global user.email 'Dirout@users.noreply.github.com'
git diff --quiet && git diff --staged --quiet || git commit -am "Automatically enforce Rust styleguide"
git push
75 changes: 75 additions & 0 deletions .github/workflows/gh-pages-scheduled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Publish to GitHub Pages (scheduled)

on:
schedule:
- cron: '0 0 * * *'

jobs:
build:

runs-on: ubuntu-latest
name: "Publish"

steps:
- name: Install Dokkoo
run: |
curl -s https://raw.githubusercontent.com/Dirout/dokkoo/master/Cargo.toml --output Cargo.toml > /dev/null
version=$( awk -F ' = ' '$1 ~ /version/ { gsub(/[\"]/, "", $2); printf("%s",$2) }' Cargo.toml )
curl -s -L https://github.com/Dirout/dokkoo/releases/download/v${version}/dokkoo_${version}_amd64.deb --output dokkoo_${version}_amd64.deb > /dev/null
sudo apt-get -qq install ./dokkoo_${version}_amd64.deb > /dev/null
printf "Installed Dokkoo v${version}"
- name: Checkout Mokk
uses: actions/checkout@v2
with:
path: ./mokk
- name: Checkout GitHub Pages environment
uses: actions/checkout@v2
with:
ref: gh-pages
path: ./gh-pages
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
target: x86_64-unknown-linux-gnu
override: true
- name: Build GitHub grabber
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path mokk/grabber/Cargo.toml --release --all-features --target x86_64-unknown-linux-gnu
- name: Grab GitHub data
run: |
strip -v --strip-all ./mokk/grabber/target/x86_64-unknown-linux-gnu/release/grabber
chmod +x ./mokk/grabber/target/x86_64-unknown-linux-gnu/release/grabber
./mokk/grabber/target/x86_64-unknown-linux-gnu/release/grabber ./mokk
- name: Build
run: |
sudo apt-get -qq install tree > /dev/null
find ./gh-pages -mindepth 1 ! -regex '^./gh-pages/.git\(/.*\)?' -delete
cd ./mokk
printf "\nBuilding … \n" && dokkoo build .
cd ../
ls ./mokk
cp -ar ./mokk/output/* ./gh-pages
cp -ar ./mokk/assets ./gh-pages
cp -ar ./mokk/branding/vector ./gh-pages/assets/icons
cp -ar ./mokk/keybase.txt ./gh-pages
if [ -f "./gh-pages/postbuild.sh" ]; then
chmod +x ./gh-pages/postbuild.sh && ./gh-pages/postbuild.sh
fi
touch ./gh-pages/.nojekyll
tee -a ./gh-pages/.nojekyll > /dev/null <<EOT

EOT
printf "\nFiles to publish:\n" && tree ./gh-pages
- name: Publish
run: |
cd ./gh-pages
git config --global user.name 'Dirout'
git config --global user.email 'Dirout@users.noreply.github.com'
git add -A
git diff --quiet && git diff --staged --quiet || git commit -am "Publish Mokk to GitHub Pages"
git push
73 changes: 73 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Publish to GitHub Pages

on: [push]

jobs:
build:

runs-on: ubuntu-latest
name: "Publish"

steps:
- name: Install Dokkoo
run: |
curl -s https://raw.githubusercontent.com/Dirout/dokkoo/master/Cargo.toml --output Cargo.toml > /dev/null
version=$( awk -F ' = ' '$1 ~ /version/ { gsub(/[\"]/, "", $2); printf("%s",$2) }' Cargo.toml )
curl -s -L https://github.com/Dirout/dokkoo/releases/download/v${version}/dokkoo_${version}_amd64.deb --output dokkoo_${version}_amd64.deb > /dev/null
sudo apt-get -qq install ./dokkoo_${version}_amd64.deb > /dev/null
printf "Installed Dokkoo v${version}"
- name: Checkout Mokk
uses: actions/checkout@v2
with:
path: ./mokk
- name: Checkout GitHub Pages environment
uses: actions/checkout@v2
with:
ref: gh-pages
path: ./gh-pages
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
target: x86_64-unknown-linux-gnu
override: true
- name: Build GitHub grabber
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path mokk/grabber/Cargo.toml --release --all-features --target x86_64-unknown-linux-gnu
- name: Grab GitHub data
run: |
strip -v --strip-all ./mokk/grabber/target/x86_64-unknown-linux-gnu/release/grabber
chmod +x ./mokk/grabber/target/x86_64-unknown-linux-gnu/release/grabber
./mokk/grabber/target/x86_64-unknown-linux-gnu/release/grabber ./mokk
- name: Build
run: |
sudo apt-get -qq install tree > /dev/null
find ./gh-pages -mindepth 1 ! -regex '^./gh-pages/.git\(/.*\)?' -delete
cd ./mokk
printf "\nBuilding … \n" && dokkoo build .
cd ../
ls ./mokk
cp -ar ./mokk/output/* ./gh-pages
cp -ar ./mokk/assets ./gh-pages
cp -ar ./mokk/branding/vector ./gh-pages/assets/icons
cp -ar ./mokk/keybase.txt ./gh-pages
if [ -f "./gh-pages/postbuild.sh" ]; then
chmod +x ./gh-pages/postbuild.sh && ./gh-pages/postbuild.sh
fi
touch ./gh-pages/.nojekyll
tee -a ./gh-pages/.nojekyll > /dev/null <<EOT

EOT
printf "\nFiles to publish:\n" && tree ./gh-pages
- name: Publish
run: |
cd ./gh-pages
git config --global user.name 'Dirout'
git config --global user.email 'Dirout@users.noreply.github.com'
git add -A
git diff --quiet && git diff --staged --quiet || git commit -am "Publish Mokk to GitHub Pages"
git push
34 changes: 34 additions & 0 deletions .github/workflows/lint_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on:
push:
branches:
- master

name: Lint codebase

jobs:
code_lint:
name: Lint codebase
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
default: true
profile: minimal
components: clippy, rustfmt
- name: Correct code files
uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path grabber/Cargo.toml --fix -Z unstable-options
- name: Commit changes to code, if any
run: |
git config --global user.name 'Dirout'
git config --global user.email 'Dirout@users.noreply.github.com'
git diff --quiet && git diff --staged --quiet || git commit -am "Automatically approved suggested code corrections by linter"
git push
13 changes: 13 additions & 0 deletions .github/workflows/scheduled_audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Dependency security audit (scheduled)
on:
schedule:
- cron: '0 0 * * *'
jobs:
scheduled_security_audit:
name: Security audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
37 changes: 37 additions & 0 deletions .github/workflows/shiftleft_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow integrates Scan with GitHub's code scanning feature
# Scan is a free open-source security tool for modern DevOps teams from ShiftLeft
# Visit https://slscan.io/en/latest/integrations/code-scan for help
name: SL Scan

# This section configures the trigger for the workflow. Feel free to customize depending on your convention
on: push

jobs:
Scan-Build:
name: Scan
# Scan runs on ubuntu, mac and windows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
# Instructions
# 1. Setup JDK, Node.js, Python etc depending on your project type
# 2. Compile or build the project before invoking scan
# Example: mvn compile, or npm install or pip install goes here
# 3. Invoke Scan with the github token. Leave the workspace empty to use relative url

- name: Perform Scan
uses: ShiftLeftSecurity/scan-action@master
env:
WORKSPACE: ""
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SCAN_AUTO_BUILD: true
with:
output: reports
# Scan auto-detects the languages in your project. To override uncomment the below variable and set the type
# type: credscan,java
# type: python

- name: Upload report
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: reports
Loading