coding / coding-cli Goto Github PK
View Code? Open in Web Editor NEWCODING 命令行工具,提供事项导入导出等功能
License: MIT License
CODING 命令行工具,提供事项导入导出等功能
License: MIT License
页面中出现了 Recent space activity
应该忽略
现在需要解压 confluence zip,很麻烦,没有必要
HTML 中带了 图片,需要上传贴图
目前 wiki 用的是文件名,有时候是数字。
hello
=====
Hello World!
should be
hello
=====
Hello World!
附件包括文中图片,需要排除。
需要上传附件的接口,未找到。
一直用的是参数 coding_import_data_type 和 coding_import_data_path
而同事反馈:写到 env 里,无法使用
卡住、中断等情况,需要断点续传
<img class="drawio-diagram-image" width="821" style="width:821px;" src="data:image/png;base64,iVBORw" />
导入中途出现了一些文件失败,最后需要汇总,便于人工处理。
网页版支持:创建教学项目,但里面的数据是闭源的,内部员工都难以协助,更别说外部开发者用户了。而 GitHub 的各种模板/demo 都是开源的,非常方便。
这次做样板间数据,有几种方式:
1、网页创建教学项目,再手动调整(比如按照 Scrum 理念把迭代名称改成时间),以前就是这样。缺点:时间会过时,需要反复手动创建和调整。
2、网页创建教学项目,手动调整调整好,导出,以后定时手动导入。实测:不行,网页导出的 csv 无法直接导入,需要手动删掉「故事点」等数据,比较麻烦,而且导入以后,还需要手动添加故事点。
3、开源:网页创建教学项目,手动调整调整好,导出,放在 coding cli 开源项目中,通过命令调用 open api 循环创建(open api 没有导入功能)和设置故事点等属性,以后可以定时创建。
基础代码已经有了,应该把这个功能暴露出来。
目前只处理了顶级 HTML,未处理子页面。
https://laravel-zero.com/docs/logging
反馈:图片不存在时,报错信息要有文章标题,用于排查问题
经排查,是 CreateFile 报错:
{"Response":{"Error":{"Message":"参数异常","Code":"InvalidParameterValue"},"RequestId":"00e8dfbf-a6b1-f413-21a4-bf61cb48fcb0"}}
发现 Confluence 老版本没有 API,所以要:导出数据,再导入 CODING wiki。
https://developer.atlassian.com/server/confluence/confluence-server-rest-api/
Confluence Server REST API need Confluence Server 5.5 and later, Confluence Data Center 5.6 and later
文件不存在:attachments/7669457/7669458.png)![](attachments/7669457/7669459.png
<img class="confluence-embedded-image" height="250" src="attachments/7669457/7669458.png" data-image-src="attachments/7669457/7669458.png" data-unresolved-comment-count="0" data-linked-resource-id="7669458" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="image2021-4-12_11-36-5.png" data-base-url="https://wiki2.pagoda.com.cn" data-linked-resource-content-type="image/png" data-linked-resource-container-id="7669457" data-linked-resource-container-version="2"></span><span class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img class="confluence-embedded-image" height="250" src="attachments/7669457/7669459.png" data-image-src="attachments/7669457/7669459.png" data-unresolved-comment-count="0" data-linked-resource-id="7669459" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="image2021-4-12_11-36-22.png" data-base-url="https://wiki2.pagoda.com.cn" data-linked-resource-content-type="image/png" data-linked-resource-container-id="7669457" data-linked-resource-container-version="2">
调试经常要用,独立成命令,也供用户使用
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.