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

use standard fdroid repo dir layout #16

Open
eighthave opened this issue Dec 28, 2017 · 8 comments
Open

use standard fdroid repo dir layout #16

eighthave opened this issue Dec 28, 2017 · 8 comments
Labels

Comments

@eighthave
Copy link

This is great work! I have one small request that'll make this integrate better into the F-Droid ecosystem: please use the standard directory layout. It seems right now this puts the repo straight into fdroid/. Instead it should look like:

-fdroid
       |-config.py
       \-repo
             |-index.xml
             |-my.package_123.apk
@NoMore201
Copy link
Owner

I'm quite sure I'm using the standard fdroid layout. During initialization, the following commands are executed:

fdroid init -v
fdroid update --create-key -v

The last call is redundant for first time initialization, but it is useful in case the repo was already initialized but it's missing some required files.

This is the result of initialization:

pm-dir
        |-config.py
        |-archive/
        |-fdroid-icon.png
        |-keystore.jks
        |-metadata/
        |-srclibs/
        |-tmp/
        \-repo
            |-index-xml
            |-123.apk
            [...]

@eighthave
Copy link
Author

eighthave commented Jan 4, 2018 via email

@Yannik
Copy link

Yannik commented Jan 28, 2018

@eighthave Which issue are you actually reporting here?
That the repo is being served at domain.org/fdroid instead of domain.org/repo? Apart from that, the standard fdroid repo setup is being used.

@eighthave
Copy link
Author

eighthave commented Jan 30, 2018 via email

@eighthave
Copy link
Author

Then domain.org/fdroid/index.html can optionally be used as a webpage to describe the repo.

@NoMore201
Copy link
Owner

Since the current setup works, I guess that the fdroid app will check both these paths:

  • <playmaker_host>/fdroid/index.xml
  • <playmaker_host>/fdroid/repo/index.xml

right? If so, in the next version I'll change the base directory. The index.html thing i think could be done manually by users

@eighthave
Copy link
Author

eighthave commented Jan 30, 2018 via email

@eighthave
Copy link
Author

eighthave commented Jan 30, 2018 via email

@NoMore201 NoMore201 added the bug label Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants