Add a "not yet implemented" error for all back-compat switches so user gets an actionable error message
还没有人认领这个 Issue。
评估
调研方向
首先比较旧版 ODBC sqlcmd 开关与 go-sqlcmd 的命令行解析,并找出尚未实现的开关。检查现有的 -N 处理如何报告无效用法,然后为每个缺失的开关添加带有可操作错误消息的 stub 行为;完成的标准是,不受支持的 back-compat 开关不再继续落入含义不明确的失败中。
由索引模型根据 Issue 内容生成。
描述
If there are any switches left from the old ODBC sqlcmd that are not yet implemented in the new go-sqlcmd, please put in a stub implementation for go-sqlcmd now, which gives an actionable error message.
We are seeing some cases where go-sqlcmd is being drop in replaced with the old ODBC sqlcmd and the swithch synatac isn't identical (-N right now is an example, -N in go-sqlcmd needs a parameters, e.g. -N true, whereas in ODBC sqlcmd, it is just "-N")
- 主要语言
- Go
- 星标
- 604
- 派生
- 91
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/go-sqlcmd 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 3/5 1-2 天 新手友好度 55/100
-
难度 3/5 1-2 天 新手友好度 65/100
-
-r discards the "Msg N, Level N, State N" error header — errors on stderr lose message number and line info可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 3/5 1-2 天 新手友好度 76/100
查看 microsoft/go-sqlcmd 的全部 Issue
相似的 Issue
-
bug go
难度 2/5 1-3 小时 新手友好度 82/100
genkit-ai/genkit#6761 · 1 条评论 ·
维护者通常 2 天内回复
-
ready
难度 2/5 1-3 小时 新手友好度 92/100
kubeflow/pipelines#14784 · 1 条评论 ·
维护者通常 2 天内回复
-
bug frontend good first issue
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
trust: update-propagation-directive requires developer mode while add and remove do not可能已有人在做 @bhuvan-somisetty 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
oalders/clodhopper#133 ·