-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ufbt: code migration to fbt codebasel; new SDK format (#6)
* Added gitignore for project template * project template: moved to fbt codebase; internal path naming changes * bootstrap: internal naming changes * entrypoint: using HOME for state storage on *nix * entrypoint: using HOME for state storage on Windows; better troubleshooting tips in ufbt * entrypoint: fixed env on *nix * ufbt: dropped SConstruct * entrypoint: *nix: purge handler; version check * entrypoint: fixed Win version; added extra debug output * bootstrap: added --no-check-certificate; fixed rebase results * gitignore cleanup * bootstrap: changes for monolithic SDK * bootstrap: better exception handling * bootstrap: major rework * bootstrap: minor cleanup * bootstrap: logging for URL loader * bootstrap: "status" subcommand * pyproject: added * bootstrap: fixed target handling; added option for calling with python3 -m ufbt * extra fixes * bootstrap: fixed dict annotation for older Python * bootstrap: extra typing; additional fixes for older Python * ufbt: fixed commandline for Windows * docs: major updates on new features; ufbt: changed env var UFBT_DIR->UFBT_HOME * docs: wording fixes * docs: more fixes * docs: minor updates * docs: more fixes * docs: even more fixes * bootstrap: logging format changes; added --debug option dropped .gitattributes; updated docs * pyproject: bumped version * bootstrap: subcommand refactoring; docs: minor fixes * bootstrap: less string constants * ufbt: renamed --debug option to --verbose; fixed custom URL roots for branch loader; docs: info on --verbose * bootstrap: added --local mode; overhaul of command line construction & handling * bootstrap: added changelog from channel data to debug output * pyproject: added version file * pyproject: added setuptools-git-versioning; see https://setuptools-git-versioning.readthedocs.io/en/stable/schemas/file/dev_release_file.html#development-releases-prereleases-from-dev-branch * vscode: added settings.json * github: added pypi publish workflow
- Loading branch information
Showing
29 changed files
with
905 additions
and
1,646 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This workflow will upload a Python Package using Twine when a release is created | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries | ||
|
||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.8' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"editor.formatOnSave": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.