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 microg's fdroid repo by default #8

Closed
eighthave opened this issue Jan 7, 2019 · 5 comments
Closed

add microg's fdroid repo by default #8

eighthave opened this issue Jan 7, 2019 · 5 comments

Comments

@eighthave
Copy link

There is a new feature in F-Droid starting in v1.5 that lets the ROM add repos to F-Droid. This is done with an additional_repos.xml file. Here's what it would look like for https://microg.org/fdroid/repo:

/system/etc/org.fdroid.fdroid/additional_repos.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string-array name="additional_repos">
        <!-- name -->
        <item>microG F-Droid repo</item>
        <!-- address -->
        <item>https://microg.org/fdroid/repo</item>
        <!-- description -->
        <item>This is a repository of microG apps to be used with F-Droid. Applications in this repository are signed official binaries built by the microG Team from the corresponding source code.</item>
        <!-- version -->
        <item>19</item>
        <!-- enabled -->
        <item>1</item>
        <!-- push requests -->
        <item>ignore</item>
        <!-- pubkey -->
        <item>308202ed308201d5a003020102020426ffa009300d06092a864886f70d01010b05003027310b300906035504061302444531183016060355040a130f4e4f47415050532050726f6a656374301e170d3132313030363132303533325a170d3337303933303132303533325a3027310b300906035504061302444531183016060355040a130f4e4f47415050532050726f6a65637430820122300d06092a864886f70d01010105000382010f003082010a02820101009a8d2a5336b0eaaad89ce447828c7753b157459b79e3215dc962ca48f58c2cd7650df67d2dd7bda0880c682791f32b35c504e43e77b43c3e4e541f86e35a8293a54fb46e6b16af54d3a4eda458f1a7c8bc1b7479861ca7043337180e40079d9cdccb7e051ada9b6c88c9ec635541e2ebf0842521c3024c826f6fd6db6fd117c74e859d5af4db04448965ab5469b71ce719939a06ef30580f50febf96c474a7d265bb63f86a822ff7b643de6b76e966a18553c2858416cf3309dd24278374bdd82b4404ef6f7f122cec93859351fc6e5ea947e3ceb9d67374fe970e593e5cd05c905e1d24f5a5484f4aadef766e498adf64f7cf04bddd602ae8137b6eea40722d0203010001a321301f301d0603551d0e04160414110b7aa9ebc840b20399f69a431f4dba6ac42a64300d06092a864886f70d01010b0500038201010007c32ad893349cf86952fb5a49cfdc9b13f5e3c800aece77b2e7e0e9c83e34052f140f357ec7e6f4b432dc1ed542218a14835acd2df2deea7efd3fd5e8f1c34e1fb39ec6a427c6e6f4178b609b369040ac1f8844b789f3694dc640de06e44b247afed11637173f36f5886170fafd74954049858c6096308fc93c1bc4dd5685fa7a1f982a422f2a3b36baa8c9500474cf2af91c39cbec1bc898d10194d368aa5e91f1137ec115087c31962d8f76cd120d28c249cf76f4c70f5baa08c70a7234ce4123be080cee789477401965cfe537b924ef36747e8caca62dfefdd1a6288dcb1c4fd2aaa6131a7ad254e9742022cfd597d2ca5c660ce9e41ff537e5a4041e37</item>
    </string-array>
</resources>
@corna
Copy link
Contributor

corna commented Jan 7, 2019

That's cool, I've been waiting for a way to pre-add the microG repo since the beginning of this project, thanks!

Just one question: what's the purpose of the version field?

@eighthave
Copy link
Author

eighthave commented Jan 7, 2019 via email

@corna
Copy link
Contributor

corna commented Jan 13, 2019

@eighthave I've tested it on thea (with this): the new repositories correctly appear on a fresh install, however they don't after an upgrade with the data partition preserved, unless the FDroid's app data is wiped. Is that by design?

@eighthave
Copy link
Author

eighthave commented Jan 13, 2019 via email

@corna
Copy link
Contributor

corna commented Jan 14, 2019

Thanks for the clarification.

Done in bf8c846, starting from tomorrow the LineageOS for microG builds will include the microG repos.

@corna corna closed this as completed Jan 14, 2019
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

No branches or pull requests

2 participants