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

Look for useful changes on other forks #15

Open
beothorn opened this issue Jun 24, 2018 · 15 comments
Open

Look for useful changes on other forks #15

beothorn opened this issue Jun 24, 2018 · 15 comments

Comments

@beothorn
Copy link
Contributor

Because the main project is unmaintained there is a lot of fragmentation.
Lots of forks with different improvements https://github.com/edmund-wagner/junrar/network/members
It would be nice to scan them and reproduce improvements on this fork.

@beothorn
Copy link
Contributor Author

beothorn commented Jun 24, 2018

@befora
Copy link
Contributor

befora commented Jul 2, 2018

geometer/junrar@c44496d

This commit is extremely more performant on Android. PipedInputStream just doesn't work that well for us.

@rednoah
Copy link

rednoah commented Jul 2, 2018

Adding META-INF/vfs-providers.xml to the JAR would be nice as well, so vfs2 can find the RAR plugin, since vfs2 support is implemented already:

<providers>
	<provider class-name="com.github.junrar.vfs2.provider.rar.RARFileProvider">
		<scheme name="rar" />
	</provider>
	<extension-map extension="rar" scheme="rar" />
	<mime-type-map mime-type="application/rar" scheme="rar" />
</providers>

@beothorn
Copy link
Contributor Author

Added geometer/junrar@c44496d changes

beothorn added a commit that referenced this issue Aug 19, 2018
@beothorn
Copy link
Contributor Author

Added META-INF/vfs-providers.xml

@gotson
Copy link
Member

gotson commented Jul 16, 2020

Adding META-INF/vfs-providers.xml to the JAR would be nice as well, so vfs2 can find the RAR plugin, since vfs2 support is implemented already:

<providers>
	<provider class-name="com.github.junrar.vfs2.provider.rar.RARFileProvider">
		<scheme name="rar" />
	</provider>
	<extension-map extension="rar" scheme="rar" />
	<mime-type-map mime-type="application/rar" scheme="rar" />
</providers>

@rednoah Would you be able to provide some context on this ? I don't really know VFS nor what it brings. I was thinking of removing it, but if it's useful we can keep it?

@theobisproject
Copy link
Contributor

theobisproject commented Jul 16, 2020

Adding META-INF/vfs-providers.xml to the JAR would be nice as well, so vfs2 can find the RAR plugin, since vfs2 support is implemented already:

<providers>
	<provider class-name="com.github.junrar.vfs2.provider.rar.RARFileProvider">
		<scheme name="rar" />
	</provider>
	<extension-map extension="rar" scheme="rar" />
	<mime-type-map mime-type="application/rar" scheme="rar" />
</providers>

@rednoah Would you be able to provide some context on this ? I don't really know VFS nor what it brings. I was thinking of removing it, but if it's useful we can keep it?

@gotson This was already added by @beothorn (see the linked commit above his comment)

@gotson
Copy link
Member

gotson commented Jul 16, 2020

Adding META-INF/vfs-providers.xml to the JAR would be nice as well, so vfs2 can find the RAR plugin, since vfs2 support is implemented already:

<providers>
	<provider class-name="com.github.junrar.vfs2.provider.rar.RARFileProvider">
		<scheme name="rar" />
	</provider>
	<extension-map extension="rar" scheme="rar" />
	<mime-type-map mime-type="application/rar" scheme="rar" />
</providers>

@rednoah Would you be able to provide some context on this ? I don't really know VFS nor what it brings. I was thinking of removing it, but if it's useful we can keep it?

@gotson This was already added by @beothorn (see the linked commit above his comment)

I know, i'm wondering what's the use and if we should keep it or remove it.

@beothorn
Copy link
Contributor Author

Adding META-INF/vfs-providers.xml to the JAR would be nice as well, so vfs2 can find the RAR plugin, since vfs2 support is implemented already:

<providers>
	<provider class-name="com.github.junrar.vfs2.provider.rar.RARFileProvider">
		<scheme name="rar" />
	</provider>
	<extension-map extension="rar" scheme="rar" />
	<mime-type-map mime-type="application/rar" scheme="rar" />
</providers>

@rednoah Would you be able to provide some context on this ? I don't really know VFS nor what it brings. I was thinking of removing it, but if it's useful we can keep it?

Someone a long time ago wanted to use junrar from inside a hadoop cluster. I don't think that this is a common usage and there are probably other ways to work around this without vfs.

@gotson gotson self-assigned this Jul 19, 2020
@gotson
Copy link
Member

gotson commented Jul 21, 2020

vsubhash/junrar@9831bed is breaking tests. Some of our test files do have windows separators, and extract fine on Mac and Linux, so this is probably not needed.

@gotson
Copy link
Member

gotson commented Jul 21, 2020

It seems there is some interesting change here about PPM error handling, but i have no idea if those changes make sense or not.

Files concerned:

  • Unpack.java
  • Decode.java
  • ModelPPM.java

@gotson
Copy link
Member

gotson commented Jul 21, 2020

Some more changes that are difficult to assess: phax/junrar@2b0dc09

@gotson
Copy link
Member

gotson commented Jul 21, 2020

And this one too: vaemendis@28663a4

@gotson
Copy link
Member

gotson commented Jul 21, 2020

I finished combing the changes listed above. I found only 3 that i cannot really assess (the 3 comments directly above this one).

@sunny-shu if you are up to the challenge, you can have a look at the 3 changes and see if they make sense, and if yes we can port them to our version.

@gotson gotson removed their assignment Jul 25, 2020
@stale
Copy link

stale bot commented Nov 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

5 participants