Compare commits

..

51 Commits

Author SHA1 Message Date
gilesb 15afa3ed92 rebase30
convert-to-yml / develop-branch (push) Successful in 31s Details
2023-10-23 18:40:44 +01:00
gilesb e800ef12fe rebase29
convert-to-yml / develop-branch (push) Successful in 31s Details
2023-10-23 18:38:16 +01:00
gilesb eb9a8dc43f rebase28
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 18:33:23 +01:00
gilesb 236fe80ff7 rebase27
convert-to-yml / develop-branch (push) Failing after 33s Details
2023-10-23 18:31:05 +01:00
gilesb bdd383f878 rebase26
convert-to-yml / develop-branch (push) Successful in 34s Details
2023-10-23 18:29:44 +01:00
gilesb bee01a610a ...
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 18:27:52 +01:00
gilesb a7364a2a38 ...
convert-to-yml / develop-branch (push) Failing after 32s Details
2023-10-23 18:24:50 +01:00
gilesb 6b0114fbc9 ..
convert-to-yml / develop-branch (push) Successful in 31s Details
2023-10-23 18:17:48 +01:00
gilesb 6f8442d0d7 ..
convert-to-yml / develop-branch (push) Successful in 33s Details
2023-10-23 18:10:02 +01:00
gilesb 92648bce8f ...
convert-to-yml / develop-branch (push) Successful in 31s Details
2023-10-23 18:04:53 +01:00
gilesb a1855bdfff Merge remote-tracking branch 'origin/build/rebase-21' into build/rebase-21
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 17:59:45 +01:00
gilesb 6f1d0c2707 thius 2023-10-23 17:49:59 +01:00
batch-bot 4e9de694a7 develop/rebase-21 -> build/rebase-21
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 16:49:48 +00:00
giles e44dd697d1 build/rebase-21 -> develop/rebase-21 2023-10-23 16:49:48 +00:00
gilesb e69720984d more theres 2023-10-23 16:49:48 +00:00
gilesb 278746fb23 . 2023-10-23 16:49:48 +00:00
giles 243d5f584d Merge pull request '..' (#177) from develop/rebase-15 into master
Reviewed-on: #177
2023-10-23 16:49:48 +00:00
gilesb cbc991fc48 more theres
convert-to-yml / develop-branch (push) Successful in 33s Details
2023-10-23 17:47:01 +01:00
gilesb 42f52ee099 xxtheres
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 17:43:06 +01:00
gilesb a405ad73c2 ssss
convert-to-yml / develop-branch (push) Failing after 29s Details
2023-10-23 17:39:21 +01:00
gilesb 0586b73564 ssss
convert-to-yml / develop-branch (push) Failing after 28s Details
2023-10-23 17:37:17 +01:00
gilesb da02f65441 removed junk
convert-to-yml / develop-branch (push) Failing after 30s Details
ml files
2023-10-23 17:30:53 +01:00
gilesb 448bf5c748 ..
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 17:18:30 +01:00
gilesb 058ae061a4 ...
convert-to-yml / develop-branch (push) Successful in 33s Details
2023-10-23 17:09:18 +01:00
gilesb f6df5c692d ..
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 16:55:35 +01:00
gilesb 2402bf5f91 .
convert-to-yml / develop-branch (push) Failing after 28s Details
2023-10-23 16:49:56 +01:00
gilesb db7f4fcbc8 .
convert-to-yml / develop-branch (push) Failing after 28s Details
2023-10-23 16:31:39 +01:00
gilesb 201a1a315a .
convert-to-yml / develop-branch (push) Failing after 28s Details
2023-10-23 16:29:11 +01:00
gilesb 33d70d88ff ...
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 16:22:49 +01:00
gilesb f37f016a98 ...
convert-to-yml / develop-branch (push) Successful in 33s Details
2023-10-23 16:19:21 +01:00
gilesb e11179187f ...
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 16:06:50 +01:00
gilesb 6926055b17 ...
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 16:03:44 +01:00
gilesb 1c2e1d8047 hhh
convert-to-yml / develop-branch (push) Successful in 35s Details
2023-10-23 16:00:07 +01:00
gilesb c3fe2f2f3a .....
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 15:55:15 +01:00
gilesb d075821c45 .....
convert-to-yml / develop-branch (push) Successful in 33s Details
2023-10-23 15:52:13 +01:00
gilesb b2f8610a03 .....
convert-to-yml / develop-branch (push) Failing after 29s Details
2023-10-23 15:49:53 +01:00
gilesb fd8c22de42 ...
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 15:47:41 +01:00
gilesb b96c610f18 ...
convert-to-yml / develop-branch (push) Successful in 43s Details
2023-10-23 15:44:29 +01:00
gilesb 595f0012bb ...
convert-to-yml / develop-branch (push) Successful in 32s Details
2023-10-23 15:30:37 +01:00
gilesb 9e7382ba53 .......
convert-to-yml / develop-branch (push) Successful in 33s Details
2023-10-23 15:24:40 +01:00
gilesb 159c8df63c .....
convert-to-yml / develop-branch (push) Successful in 31s Details
2023-10-23 15:22:37 +01:00
gilesb 990b7192b2 .....
convert-to-yml / develop-branch (push) Failing after 28s Details
2023-10-23 15:18:55 +01:00
giles ae922d09c4 develop/rebase -> build/rebase
convert-to-yml / develop-branch (push) Failing after 28s Details
2023-10-23 14:16:50 +00:00
gilesb fa367d43d9 .....
build-develop-branch / build-branch (push) Successful in 36s Details
build-develop-branch / delete (pull_request) Successful in 14s Details
build-develop-branch / if_merged (pull_request) Has been skipped Details
2023-10-23 15:16:12 +01:00
gilesb 399dc461c3 ...
build-develop-branch / build-branch (push) Successful in 35s Details
build-develop-branch / delete (pull_request) Successful in 18s Details
build-develop-branch / if_merged (pull_request) Has been skipped Details
2023-10-23 15:11:39 +01:00
gilesb ee7bed8c18 ...
build-develop-branch / build-branch (push) Successful in 37s Details
2023-10-23 15:08:10 +01:00
gilesb 20088da9bb ...
build-develop-branch / build-branch (push) Failing after 30s Details
2023-10-23 15:06:04 +01:00
gilesb 589acdaee4 ...
build-develop-branch / build-branch (push) Failing after 28s Details
2023-10-23 15:04:45 +01:00
gilesb 2c7937596c .....
build-develop-branch / build-branch (push) Has been cancelled Details
2023-10-23 15:02:28 +01:00
gilesb eda88259de .....
build-develop-branch / build-branch (push) Failing after 30s Details
2023-10-23 14:55:47 +01:00
gilesb 836c1edfef ....
build-develop-branch / build-branch (push) Successful in 39s Details
2023-10-23 14:52:06 +01:00
14 changed files with 139 additions and 2555 deletions

View File

@ -46,9 +46,9 @@ jobs:
ls
git log -5
git status
git rebase -Xtheirs origin/master
git rebase origin/master --strategy-option=ours
ls
git log -4
git log -5
git status
echo no development branch so pushing
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};

View File

@ -1,13 +0,0 @@
name: Changelog
on:
release:
types:
- created
jobs:
changelog:
runs-on: ubuntu-20.04
steps:
- name: "✏️ Generate release changelog"
uses: heinrichreimer/action-github-changelog-generator@v2.3
with:
token: ${{ secrets.BOT_TOKEN }}

View File

@ -15,11 +15,6 @@ jobs:
fetch-depth: '10'
- env: env
run: printenv
- name: get tea
run: |
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output ../tea
chmod +x ../tea
../tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
- uses: http://sigyl.com:3000/actions/setup-node@v3
with:
node-version: '20'
@ -71,19 +66,27 @@ jobs:
fi;
- name: make PR
run: |
../tea pr ls -f=base,head -o=csv
if [[ $(../tea pr ls -f=base,head -o=csv | grep "\"master\",\"${{ github.ref_name }}\"" | head -c1 | wc -c) -eq 0 ]]; then
../tea pr c --base=master --head=${{ github.ref_name }} --description="
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
chmod +x ./tea
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
./tea pr ls -f=base,head -o=csv
if [[ $(./tea pr ls -f=base,head -o=csv | grep "\"master\",\"${{ github.ref_name }}\"" | head -c1 | wc -c) -eq 0 ]]; then
./tea pr c --base=master --head=${{ github.ref_name }} --description="
development pull request
this PR is will been built on [${{ github.ref_name }}](${{ github.serverUrl }}/${{ github.repository }}/src/branch/${{ env.BUILD_BRANCH }})
" -t="WIP: ${{ github.event.head_commit.message }}"
fi
- name: get PR number
run: |
pr=$(../tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\"" | tr -d ' ' | tr "," "\n" | head -n 4 | tail -1)
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
chmod +x ./tea
pr=$(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\"" | tr -d ' ' | tr "," "\n" | head -n 4 | tail -1)
export PR="${pr//[\"\'\`]/}"
echo ::set-env name=PR::$PR
rm ./tea
- name: make pull request comment
run: |
../tea c $PR "this branch has been built on [${{ env.BUILD_BRANCH }}](${{ github.serverUrl }}/${{ github.repository }}/src/branch/${{ env.BUILD_BRANCH }})"
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
chmod +x ./tea
./tea c $PR "this branch has been built on [${{ env.BUILD_BRANCH }}](${{ github.serverUrl }}/${{ github.repository }}/src/branch/${{ env.BUILD_BRANCH }})"

View File

@ -1,24 +0,0 @@
name: master-pushed
run-name: ${{ github.actor }} is learning GitHub Actions
on:
push:
branches:
- 'master'
jobs:
new release:
runs-on: ubuntu-latest
steps:
- name: get tea
run: |
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output ../tea
chmod +x ../tea
../tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
- name: bump release
run: |
export version=$(../tea r ls -o=simple | head -n 1 | tr " " "\n" | head -n 1 | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')
../tea r c --note="this isrelease ${version}" --tag=${version} --title=${version} --target=${{ github.sha }}
echo ::set-env name=VERSION::$version

View File

@ -6,11 +6,10 @@ on:
- closed
- deleted
branches:
- master
- 'master'
jobs:
delete-develop:
if: ${{ ! startsWith(github.head_ref, 'develop/') }}
delete:
runs-on: ubuntu-latest
steps:
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
@ -30,6 +29,21 @@ jobs:
firstString=${{ github.head_ref }}
secondString="build"
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}s
- name: delete build branch
run: git push origin --delete ${{ env.BUILD_BRANCH }}
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
- name: tag
run: git tag
- name: delete develop branch
id: delete_develop_branch
run: git push origin --delete ${{ github.head_ref }}
continue-on-error: true
- uses: mainmatter/continue-on-error-comment@v1
with:
repo-token: ${{ secrets.BOT_TOKEN }}
outcome: ${{ steps.delete_develop_branch.outcome }}
test-id: Error code ${{ matrix.code }}

View File

@ -1,23 +0,0 @@
on:
pull_request:
branches: [master]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
# This is important to fetch the changes to the previous commit
fetch-depth: 0
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md}
only_changed: true

View File

@ -31,4 +31,4 @@ jobs:
git config --global user.email "username@users.noreply.github.com"
git add -A
git commit -a -m "${{ github.ref_name }} -> refs/heads/deployed/${{ github.ref_name }} "
git push -f origin HEAD:refs/heads/deployed/${{ github.ref_name }}
git push origin HEAD:refs/heads/deployed/${{ github.ref_name }}

View File

@ -1,28 +0,0 @@
name: tea
on:
workflow_call:
secrets:
token:
required: true
jobs:
tea:
runs-on: ubuntu-latest
steps:
- name: get tea
run: |
echo tea please!
#curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output ../tea
#chmod +x ../tea
#../tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.token }}
#echo thank you!
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: '10'
- name: ls
run: ls

View File

@ -18,7 +18,8 @@ yml -> xml
push deployed
pull to production PC and import
pull to production PC and import.
pull to development, import, modify, export
push from development to format branch

File diff suppressed because it is too large Load Diff

1
equipment-model.axml Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

160
try.js
View File

@ -1,160 +0,0 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from "react";
import ReactVersion from "shared/ReactVersion";
import { LegacyRoot } from "react-reconciler/src/ReactRootTags";
import {
createContainer,
updateContainer,
injectIntoDevTools,
} from "react-reconciler/src/ReactFiberReconciler";
import Transform from "art/core/transform";
import Mode from "art/modes/current";
import FastNoSideEffects from "art/modes/fast-noSideEffects";
import { TYPES, childrenAsString } from "./ReactARTInternals";
Mode.setCurrent(
// Change to 'art/modes/dom' for easier debugging via SVG
FastNoSideEffects,
);
/** Declarative fill-type objects; API design not finalized */
const slice = Array.prototype.slice;
class LinearGradient {
constructor(stops, x1, y1, x2, y2) {
this._args = slice.call(arguments);
}
applyFill(node) {
node.fillLinear.apply(node, this._args);
}
}
class RadialGradient {
constructor(stops, fx, fy, rx, ry, cx, cy) {
this._args = slice.call(arguments);
}
applyFill(node) {
node.fillRadial.apply(node, this._args);
}
}
class Pattern {
constructor(url, width, height, left, top) {
this._args = slice.call(arguments);
}
applyFill(node) {
node.fillImage.apply(node, this._args);
}
}
/** React Components */
class Surface extends React.Component {
componentDidMount() {
const { height, width } = this.props;
this._surface = Mode.Surface(+width, +height, this._tagRef);
this._mountNode = createContainer(
this._surface,
LegacyRoot,
null,
false,
false,
"",
);
updateContainer(this.props.children, this._mountNode, this);
}
componentDidUpdate(prevProps, prevState) {
const props = this.props;
if (props.height !== prevProps.height || props.width !== prevProps.width) {
this._surface.resize(+props.width, +props.height);
}
updateContainer(this.props.children, this._mountNode, this);
if (this._surface.render) {
this._surface.render();
}
}
componentWillUnmount() {
updateContainer(null, this._mountNode, this);
}
render() {
// This is going to be a placeholder because we don't know what it will
// actually resolve to because ART may render canvas, vml or svg tags here.
// We only allow a subset of properties since others might conflict with
// ART's properties.
const props = this.props;
// TODO: ART's Canvas Mode overrides surface title and cursor
const Tag = Mode.Surface.tagName;
return (
<Tag
ref={(ref) => (this._tagRef = ref)}
accessKey={props.accessKey}
className={props.className}
draggable={props.draggable}
role={props.role}
style={props.style}
tabIndex={props.tabIndex}
title={props.title}
/>
);
}
}
class Text extends React.Component {
constructor(props) {
super(props);
// We allow reading these props. Ideally we could expose the Text node as
// ref directly.
["height", "width", "x", "y"].forEach((key) => {
Object.defineProperty(this, key, {
get: function () {
return this._text ? this._text[key] : undefined;
},
});
});
}
render() {
// This means you can't have children that render into strings...
const T = TYPES.TEXT;
return (
<T {...this.props} ref={(t) => (this._text = t)}>
{childrenAsString(this.props.children)}
</T>
);
}
}
injectIntoDevTools({
findFiberByHostInstance: () => null,
bundleType: __DEV__ ? 1 : 0,
version: ReactVersion,
rendererPackageName: "react-art",
});
/** API */
export const ClippingRectangle = TYPES.CLIPPING_RECTANGLE;
export const Group = TYPES.GROUP;
export const Shape = TYPES.SHAPE;
export const Path = Mode.Path;
export { LinearGradient, Pattern, RadialGradient, Surface, Text, Transform };