Skip to content

Commit

Permalink
Merge branch 'SDcard01A' into SDcard01B
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklik committed May 18, 2024
2 parents 33bd89c + 03d7d7c commit c2fc7d2
Show file tree
Hide file tree
Showing 27 changed files with 3,159 additions and 2,948 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/metadata_updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Metadata updater

on:
push:
workflow_dispatch:

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f doc/assets/workflows/requirements.txt ]; then pip install -r doc/assets/workflows/requirements.txt; fi
- name: Update metadata
env:
gh_repo: ${{ github.event.repository.name }}
gh_url: ${{ github.server_url }}/${{ github.repository }}
gh_branch: ${{ github.head_ref || github.ref_name }}
gh_description: ${{ github.event.repository.name }}
gh_repository: ${{ github.repository }}
gh_token: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 doc/assets/workflows/update_metadata.py
python3 doc/assets/workflows/update_kitspace.py
- uses: stefanzweifel/git-auto-commit-action@v4.16.0
with:
commit_message: Update metadata files
commit_options: '-a'
41 changes: 41 additions & 0 deletions .github/workflows/update_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Update actions and assets repository
on:
schedule:
- cron: "0 */24 * * *"

push:
paths:
- '.gitmodules'

workflow_dispatch:

jobs:
Aktualizace:
name: Update repository actions and other tools
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.pat }}
ref: ${{ github.head_ref }}

- name: Update submodules
run: |
git -C doc/assets config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
git submodule sync doc/assets
git submodule update --init --remote doc/assets
- name: Update submodules
run: |
git submodule update --remote doc/assets/
- name: Zaktualizovat skripty
run: |
cd doc/assets/workflows/ && ./copy_workflow_to_repo.sh && cd ${GITHUB_WORKSPACE}
- uses: stefanzweifel/git-auto-commit-action@v4.16.0
with:
commit_message: Update workflow files
add_options: '-A'
commit_options: '-a'
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "doc/assets"]
path = doc/assets
url = git@github.com:MLAB-project/documents.git
branch = KiCADv7
40 changes: 20 additions & 20 deletions PrjInfo.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
//
// This is a project description file.
//
[InfoShortDescription.en]
SDcard Slot
[InfoShortDescription.cs]
Slot pro SD kartu
[InfoLongDescription.en]
Simple SD card terminal with voltage regulator. And simple overvoltage protection on inputs.
[InfoLongDescription.cs]
Patice pro připojení SDkarty vybavená napetovým stabilizátorem. Vstupy jsou chráněné sériovými odpory pro větší přepěťovou odolnost.
[InfoBuyUST]
http://www.ust.cz/shop/index.php?cPath=22_32
[End]
//
// This is a project description file.
//

[InfoShortDescription.en]
SDcard Slot

[InfoShortDescription.cs]
Slot pro SD kartu

[InfoLongDescription.en]
Simple SD card terminal with voltage regulator. And simple overvoltage protection on inputs.

[InfoLongDescription.cs]
Patice pro připojení SDkarty vybavená napetovým stabilizátorem. Vstupy jsou chráněné sériovými odpory pro větší přepěťovou odolnost.

[InfoBuyUST]
http://www.ust.cz/shop/index.php?cPath=22_32

[End]
2 changes: 1 addition & 1 deletion README.cs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
![SDcard01B](/doc/img/SDCARD01B_top_big.jpg)

<!--- description --->Patice pro připojení SDkarty vybavená napetovým stabilizátorem. Vstupy jsou chráněné sériovými odpory pro větší přepěťovou odolnost.<!--- Edescription --->
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
![SDcard01B](/doc/img/SDCARD01B_top_big.jpg)

<!--- description --->Simple SD card terminal with voltage regulator. And simple overvoltage protection on inputs.<!--- Edescription --->
22 changes: 22 additions & 0 deletions SDcard01A.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"wiki": "None",
"status": 3,
"name": "SDcard01A",
"parameters": [],
"short_en": "Simple SD card terminal with voltage regulator.",
"image_small": "/doc/img/SDcard01A_QRcode.jpgs",
"image": "/doc/img/SDcard01A_QRcode.png",
"longname_cs": "Slot pro SD kartu",
"longname_en": "SDcard Slot",
"mark": 50.0,
"ust": "None",
"doc_cs": "<p>None</p>",
"short_cs": "Patice pro připojení SDkarty vybavená napetovým stabilizátorem.",
"doc_en": "<p>None</p>",
"_id": "SDcard01A",
"root": "memory/SDcard01A",
"author[]": [],
"category[]": [
"memory"
]
}
1 change: 1 addition & 0 deletions doc/assets
Submodule assets added at fd2a52
Binary file added doc/img/SDCARD01A_bottom_big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/img/SDCARD01A_bottom_small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/img/SDCARD01A_top_big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/img/SDCARD01A_top_small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added doc/img/SDcard01A_QRcode.jpgs
Empty file.
Binary file added doc/img/SDcard01A_QRcode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions doc/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: Simple SD card terminal with voltage regulator.
github_branch: SDcard01A
github_description: Simple SD card terminal with voltage regulator.
github_repo: SDcard01
github_url: https://github.com/mlab-modules/SDcard01
homepage: false
images:
- doc/img/SDCARD01A_bottom_small.jpg
- doc/img/SDCARD01A_bottom_big.jpg
- doc/img/SDCARD01A_top_big.jpg
- doc/img/SDCARD01A_top_small.jpg
- doc/img/SDcard01A_QRcode.png
mark: 50
status: 0
tags: []
title: SDcard01
updated: '2023-09-17T11:53:10.319257+00:00'
Binary file added doc/souhrn.pdf
Binary file not shown.
Binary file added hw/cam_ama/T1_AMA.pdf
Binary file not shown.
Binary file added hw/cam_ama/V2_AMA.pdf
Binary file not shown.
Binary file modified hw/cam_doc/O2.pdf
Binary file not shown.
Loading

0 comments on commit c2fc7d2

Please sign in to comment.