yuntijs / yunti Goto Github PK
View Code? Open in Web Editor NEWA lowcode platform
License: MIT License
A lowcode platform
License: MIT License
Windows
API:
mutation createMergeRequest($mergeRequestInput: MergeRequestInput!) {
createMergeRequest(mergeRequestParam: $mergeRequestInput) {
sourceBranchName,
targetBranchName,
title,
description,
options,
mergeRequestStatus,
createAt,
updateAt,
}
}
Before query variables:
{
"mergeRequestInput":
{
"source_branch":"app-lfon8/user-0ekq4/tttt2",
"target_branch":"app-lfon8/user-0ekq4/ttt",
"title":"tttt",
"description":"ttttt",
"assignee_id":"user-0ekq4",
"options": "{\"delSourceBranch\":1}"
}
}
Required query variables:
{
"mergeRequestInput":
{
"sourceBranch":"app-lfon8/user-0ekq4/tttt2",
"targetBranch":"app-lfon8/user-0ekq4/ttt",
"title":"tttt",
"description":"ttttt",
"assigneeId":"user-0ekq4",
"options": "{\"delSourceBranch\":1}"
}
}
{
"mergeRequestInput":
{
"sourceBranch":"app-lfon8/user-0ekq4/tttt2",
"targetBranch":"app-lfon8/user-0ekq4/ttt",
"title":"tttt",
"description":"ttttt",
"assigneeId":"user-0ekq4",
"options": "{\"delSourceBranch\":1}" // new added
}
}
No response
"options": "{"delSourceBranch":1}":
delSourceBranch: 1 => delete source branch after merged.
delSourceBranch: 0 => nothing to do after merged.
Windows
[Nest] 1 - 03/26/2024, 3:25:57 PM ERROR [AllExceptionFilter] huangzhao(User)@::ffff:172.16.156.253 [CJ1z0byltGajjHW78cGt1] POST /-/yunti/api resolveConflict- - [500] - => QueryFailedError: nothing to commit
at Query.onResult (/usr/src/app/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:158:37)
at Query.execute (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/commands/command.js:36:14)
at PoolConnection.handlePacket (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/connection.js:478:34)
at PacketParser.onPacket (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/connection.js:97:12)
at PacketParser.executeStart (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/packet_parser.js:75:16)
at Socket.<anonymous> (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/connection.js:104:25)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
[Nest] 1 - 03/26/2024, 3:25:57 PM ERROR [AllExceptionFilter] ER_UNKNOWN_ERROR
mutation resolveConflict($conflictResolveInput: ConflictResolveInput!) {
resolveConflict(conflictResolveInput: $conflictResolveInput)
}
[Nest] 1 - 03/26/2024, 3:25:57 PM ERROR [mutation resolveConflict($conflictResolveInput: ConflictResolveInput!) {
resolveConflict(conflictResolveInput: $conflictResolveInput)
}] Object:
[
{
"message": "nothing to commit",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"resolveConflict"
]
}
]
huangzhao(User)@::ffff:172.16.156.253 [CJ1z0byltGajjHW78cGt1] POST /-/yunti/api resolveConflict
[Nest] 1 - 03/26/2024, 3:25:57 PM ERROR - - [undefined] undefined => QueryFailedError: nothing to commit
at Query.onResult (/usr/src/app/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:158:37)
at Query.execute (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/commands/command.js:36:14)
at PoolConnection.handlePacket (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/connection.js:478:34)
at PacketParser.onPacket (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/connection.js:97:12)
at PacketParser.executeStart (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/packet_parser.js:75:16)
at Socket.<anonymous> (/usr/src/app/node_modules/.pnpm/[email protected]/node_modules/mysql2/lib/connection.js:104:25)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
[Nest] 1 - 03/26/2024, 3:25:57 PM LOG <-- huangzhao(User)@::ffff:172.16.156.253 [CJ1z0byltGajjHW78cGt1] POST /-/yunti/api?o=resolveConflict resolveConflict [200] 221ms
[Nest] 1 - 03/26/2024, 3:26:02 PM LOG --> huangzhao(User)@::ffff:172.16.156.253 [KNUTXoMJcd4lAD--Z0Miv] POST /-/yunti/api?o=getCurrentUser getCurrentUser
No response
No response
No response
ref: https://github.com/yuntijs/yunti/blob/alpha/packages/server/wiki/branch.md
ref: https://github.com/yuntijs/yunti/blob/alpha/packages/server/wiki/branch.md
No response
Windows
2 API changed:
should remove below two blocks on getMergeRequests and getDetailMergeRequest request body
targetBranch {
hash,
message,
name,
date
},
and
sourceBranch {
hash,
message,
name,
date
},
No response
No response
No response
When I do one-click i18n extract (#11), I will create a temporary branch. I expect this temporary branch to be automatically deleted after the MR merge.
No response
Extract i18n variables tools from schema of lowcode engine, like Kiwi.
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.