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

Please add some FAQ #1

Open
KOLANICH opened this issue Oct 22, 2021 · 2 comments
Open

Please add some FAQ #1

KOLANICH opened this issue Oct 22, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@KOLANICH
Copy link

Hello. Thanks for the tool. But what is the rationale for such a tool? Isn't it easier to download from the official git repo instead, as I do in my https://github.com/kaitaiStructCompile/kaitaiStructCompile.repo ?

The only really valuable use case I can imagine is downloading pre-transpiled sources. But it is not yet implemented. I'd create a separate bug for it.

@tins2831
Copy link
Owner

tins2831 commented Oct 22, 2021

Hi. Thanks for the compliment. Not too long ago, I was manually scraping the code off the website and saving it in individual files inside my projects. It became time consuming, especially when a specification like PCAP has so many recursive dependencies. So I developed a small utility to automate the entirety of it.

I immediately saw the potential in the new tool I developed and began improving my tool so that it will:

  • Fetch any of the official specifications
  • Fetch only their dependencies
  • Organize Categorize the specifications into separate directories based on the category of the specification
  • Rewrite the import paths of the dependencies so that they use relative paths

This makes it easy to include, modify, and share official and community created kaitai-struct specifications in individual projects.

@tins2831
Copy link
Owner

The only really valuable use case I can imagine is downloading pre-transpiled sources.

That's a great suggestion! However, development might be a bit slow since I am working on other projects.

@tins2831 tins2831 added the enhancement New feature or request label Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants