Git Product home page Git Product logo

Comments (15)

beothorn avatar beothorn commented on May 27, 2024 1

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.

from junrar.

beothorn avatar beothorn commented on May 27, 2024

Some interesting changes

geometer/junrar@c44496d

awaters1@28be41d

https://github.com/NitroXenon/JUnRAR

https://github.com/Cheetozz/junrar

https://github.com/sseide/junrar/commit/5ccda759d68a8f5c489fb20e1a7bfa49f66d82f7

vaemendis@28663a4 (some interesting but difficult to assess changes, see below)

koroshiya/junrar@06bdd47 (is being looked at in #40)

https://github.com/phax/junrar/commits/master (some interesting but difficult to assess changes, see below)

vsubhash/junrar@9831bed

https://github.com/DarkSupremo/junrar/commits/master

https://github.com/RDamman/junrar/commits/master (some interesting but difficult to assess changes, see below)

from junrar.

befora avatar befora commented on May 27, 2024

geometer/junrar@c44496d

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

from junrar.

rednoah avatar rednoah commented on May 27, 2024

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>

from junrar.

beothorn avatar beothorn commented on May 27, 2024

Added geometer/junrar@c44496d changes

from junrar.

beothorn avatar beothorn commented on May 27, 2024

Added META-INF/vfs-providers.xml

from junrar.

gotson avatar gotson commented on May 27, 2024

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?

from junrar.

theobisproject avatar theobisproject commented on May 27, 2024

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)

from junrar.

gotson avatar gotson commented on May 27, 2024

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.

from junrar.

gotson avatar gotson commented on May 27, 2024

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.

from junrar.

gotson avatar gotson commented on May 27, 2024

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

from junrar.

gotson avatar gotson commented on May 27, 2024

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

from junrar.

gotson avatar gotson commented on May 27, 2024

And this one too: vaemendis@28663a4

from junrar.

gotson avatar gotson commented on May 27, 2024

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.

from junrar.

stale avatar stale commented on May 27, 2024

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.

from junrar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.