Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions 0.2.0 -> 0.4.0 not committed? #7

Open
bollewolle opened this issue Jul 26, 2023 · 3 comments
Open

Versions 0.2.0 -> 0.4.0 not committed? #7

bollewolle opened this issue Jul 26, 2023 · 3 comments
Assignees

Comments

@bollewolle
Copy link

Hello,

Could it be that versions 0.2.0 until 0.4.0 were not committed? In the README.md it mentions cli commands like "yt cp", "yt -q" and "yt gt", but these are not configured in the cli.py file as far as I can tell. Which also means that I cannot execute them.

There's other differences I noted, like the .md file of the issues which are not put in the folder of the issue but in the project folder. In itself nothing major, except that the .md does contain references to files/images that it expects to be in the same folder as the .md file.
I also have a difference in the projects it actually downloads vs the list it gives when I do "yt ls" (which in turn is also a more limited list compared to the hundreds of projects we actually have in our YouTrack).

Thanks in advance.

Kind regards,
Bram

@KarstenSchulz KarstenSchulz self-assigned this Jul 27, 2023
@bollewolle
Copy link
Author

Let me know if I should create a separate Issue for this, but to give an example of what I meant with the .md not being in the same folder as the attachments, here an example of what the tree looks like for me:
image

This is just 1 issue in a project folder after I ran the "yt backup" command.

@KarstenSchulz
Copy link
Owner

Hi!

Could it be that versions 0.2.0 until 0.4.0 were not committed? In the README.md it mentions cli commands like "yt cp", "yt -q" and "yt gt", but these are not configured in the cli.py file as far as I can tell. Which also means that I cannot execute them.

We are at version 0.0.2 (see pyproject.toml 😉)

There's other differences I noted, like the .md file of the issues which are not put in the folder of the issue but in the project folder. In itself nothing major, except that the .md does contain references to files/images that it expects to be in the same folder as the .md file.

Yes, you are right, thanks for pointing that out. The README.md shows, that all files should go into one directory for one issue. I filed #8 for that (will be fixed soon).

I also have a difference in the projects it actually downloads vs the list it gives when I do "yt ls" (which in turn is also a more limited list compared to the hundreds of projects we actually have in our YouTrack).

This could be, because I do not address the API correctly: I ignore pagination and therefore it could be possible, that API limits will be triggered.

Pagination is on the TODO-list (see #5).

I still need some time because I realized that downloading many projects takes a long time. I am currently working my way into asyncio / aiohttp to make the downloads faster (see #4).

@KarstenSchulz
Copy link
Owner

Let me know if I should create a separate Issue for this, but to give an example of what I meant with the .md not being in the same folder as the attachments, here an example of what the tree looks like for me: image

This is just 1 issue in a project folder after I ran the "yt backup" command.

This is fixed now, see #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants