General feedback on how to improve tod (#2)
jbauer opened 3 months ago
  • It is not documented that tod should be launched in a project folder containing .git directory.
  • It is not documented that tod looks for an origin remote to figure out the current project. I had numerous errors because my origin is often named onedev in git because I had two origins (origin and onedev) while migrating projects to OneDev. Maybe check if there is only one origin and then use that, regardless of the name. Otherwise a different approach needs to be figured out, so it is not that dependent on names you cannot control. For example you could use the server host of the tod config file and try find that in the push/pull URLs of available Git origins.
  • If you do not launch tod in a git repository directory you have to use setWorkDir via AI to switch to such a directory. Should be mentioned in the documentation.
  • If you use IntelliJ Copilot plugin and allow Copilot to use MCP the working directory is always "/". You always have to first set the working directory via AI request before MCP for OneDev works. Should be mentioned in the documentation that the working dir should be checked if something does not work.
  • jbauer commented 3 months ago

    An additional info about IntelliJ: If you work in project A and set the workingDir for tod to that project and then switch to project B (without closing IntelliJ completely) the workingDir still points to project A. So you regularly have to manually switch work dirs. If you forget about it, AI works in the wrong project.

  • OneDev commented 3 months ago

    State changed as code fixing the issue is committed (3ed653a6)

  • OneDev changed state to 'Closed' 3 months ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 3 months ago

    State changed as build #96 is successful

  • OneDev changed state to 'Released' 3 months ago
    Previous Value Current Value
    Closed
    Released
issue 1/1
Type
Improvement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
onedev/tod#2
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover