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

add jxr support #155 #312

Merged
merged 4 commits into from
Sep 3, 2022
Merged

Conversation

dijotmathews
Copy link
Contributor

I have added support for jxr.

Copy link
Owner

@gabriel-vasile gabriel-vasile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, looks good. I left some improvements to do before I can merge this.

Can you please use the attached jxr file for testdata? jxr.jxr.zip. It is smaller in size and it is generated by me so I won't have licensing issues with it.

tree.go Outdated Show resolved Hide resolved
internal/magic/image.go Outdated Show resolved Hide resolved
@dijotmathews
Copy link
Contributor Author

All issues addressed.

@codecov-commenter
Copy link

Codecov Report

Merging #312 (6eae9df) into master (98f3091) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #312   +/-   ##
=======================================
  Coverage   94.96%   94.96%           
=======================================
  Files           3        3           
  Lines         159      159           
=======================================
  Hits          151      151           
  Misses          6        6           
  Partials        2        2           
Impacted Files Coverage Δ
tree.go 50.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@gabriel-vasile gabriel-vasile merged commit a86966a into gabriel-vasile:master Sep 3, 2022
@dijotmathews dijotmathews deleted the add-jxr branch September 3, 2022 13:22
kodiakhq bot referenced this pull request in cloudquery/cloudquery Apr 1, 2023
…#9604)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/gabriel-vasile/mimetype](https://togithub.com/gabriel-vasile/mimetype) | indirect | patch | `v1.4.1` -> `v1.4.2` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>gabriel-vasile/mimetype</summary>

### [`v1.4.2`](https://togithub.com/gabriel-vasile/mimetype/releases/tag/v1.4.2)

[Compare Source](https://togithub.com/gabriel-vasile/mimetype/compare/v1.4.1...v1.4.2)

#### What's Changed

-   Improve mov detection; closes [#&#8203;302](https://togithub.com/gabriel-vasile/mimetype/issues/302) by [@&#8203;gabriel-vasile](https://togithub.com/gabriel-vasile) in [https://github.com/gabriel-vasile/mimetype/pull/304](https://togithub.com/gabriel-vasile/mimetype/pull/304)
-   \[codespell] Fix typos. by [@&#8203;mdosch](https://togithub.com/mdosch) in [https://github.com/gabriel-vasile/mimetype/pull/303](https://togithub.com/gabriel-vasile/mimetype/pull/303)
-   Detect UStar tar archives by [@&#8203;chrisnovakovic](https://togithub.com/chrisnovakovic) in [https://github.com/gabriel-vasile/mimetype/pull/308](https://togithub.com/gabriel-vasile/mimetype/pull/308)
-   add jxr support [#&#8203;155](https://togithub.com/gabriel-vasile/mimetype/issues/155) by [@&#8203;dijotmathews](https://togithub.com/dijotmathews) in [https://github.com/gabriel-vasile/mimetype/pull/312](https://togithub.com/gabriel-vasile/mimetype/pull/312)
-   Added support for JXS file format by [@&#8203;V-R-Dighe](https://togithub.com/V-R-Dighe) in [https://github.com/gabriel-vasile/mimetype/pull/319](https://togithub.com/gabriel-vasile/mimetype/pull/319)
-   Bump golang.org/x/net from 0.7.0 to 0.8.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/gabriel-vasile/mimetype/pull/367](https://togithub.com/gabriel-vasile/mimetype/pull/367)

#### New Contributors

-   [@&#8203;mdosch](https://togithub.com/mdosch) made their first contribution in [https://github.com/gabriel-vasile/mimetype/pull/303](https://togithub.com/gabriel-vasile/mimetype/pull/303)
-   [@&#8203;chrisnovakovic](https://togithub.com/chrisnovakovic) made their first contribution in [https://github.com/gabriel-vasile/mimetype/pull/308](https://togithub.com/gabriel-vasile/mimetype/pull/308)
-   [@&#8203;dijotmathews](https://togithub.com/dijotmathews) made their first contribution in [https://github.com/gabriel-vasile/mimetype/pull/312](https://togithub.com/gabriel-vasile/mimetype/pull/312)
-   [@&#8203;V-R-Dighe](https://togithub.com/V-R-Dighe) made their first contribution in [https://github.com/gabriel-vasile/mimetype/pull/319](https://togithub.com/gabriel-vasile/mimetype/pull/319)

**Full Changelog**: gabriel-vasile/mimetype@v1.4.1...v1.4.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTQuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE1NC4wIn0=-->
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

Successfully merging this pull request may close these issues.

3 participants