Skip to content

enable updates on f-droid #410

Closed
Closed

Activity

  1. changed the title [-]the f-droid team disabled auto-updates for our app https://gitlab.com/fdroid/fdroiddata/-/blob/84acda7e142b0365749acc9a981246f745d363b5/metadata/com.nononsenseapps.notepad.yml#L178-179 so we have to contact them once we have a new version ready to be published. See https://gitlab.com/fdroid/fdroiddata/-/blob/203ce022ecd15b87d9d96a43397f4d61e2f17ed3/metadata/io.github.quillpad.yml for how it should look like. open the issue as explained here https://gitlab.com/fdroid/fdroiddata/blob/master/CONTRIBUTING.md#updating-apps-already-in-f-droid[/-] [+]enable updates on f-droid[/+] on Nov 25, 2022
  2. CampelloManuel commented on Dec 1, 2022

    @CampelloManuel
    CollaboratorAuthor

    @spacecowboy I think now the app is ready to be released,

    I fixed the most urgent problems and I got some unit tests to work https://github.com/spacecowboy/NotePad/actions/runs/3595460269

    Github builds the app in debug mode, you can get it here for example https://github.com/spacecowboy/NotePad/actions/runs/3595460267

    Maybe you want to try it first, and give some feedback, but as far as I'm concerned, you can already get in contact with the f-droid team to publish the app.
    You have more experience than me with the publishing procedure, so I'll be counting on you.

  3. spacecowboy commented on Dec 2, 2022

    @spacecowboy
    Owner
  4. self-assigned this
    on Dec 2, 2022
  5. spacecowboy commented on Dec 2, 2022

    @spacecowboy
    Owner

    OK I installed it in an emulator and it seems to work fine.

    Some thoughts:

    • There are some lint checks failing, namely some translated strings that no longer exist in values/strings.xml. These entries should just be removed
    • The Google Tasks setting still exists in settings/synchronization. This should probably be removed completely so users don't think it's coming back
    • Settings/About still reference https://crowdin.com/project/nononsensenotes . Not sure if you want to keep using that. Personally I find that Weblate is a better service. Maybe remove this link?
    • Settings/About maybe give yourself more credit than Special Thanks? Your choice, but I think a succinct Maintained by would be more to the point.

    Once you feel really ready to make the release, make an annotated git tag (or create a release here on github, same thing really) and I'll make a PR against F-Droid to re-enable it.

    Oh and here is the metadata file. Just waiting on the git tag and your go-ahead.
    https://gitlab.com/spacecowboy/fdroiddata/-/commit/6a0fe29aa6352faec0c5f74de65f50fa96e8f15e

  6. CampelloManuel commented on Dec 5, 2022

    @CampelloManuel
    CollaboratorAuthor

    Thank you for your feedback.

    There are some lint checks failing, [...]

    Satisfying lint checks, and android studio code analysis suggestions in general, is in the TODO list in #387 but it's complicated because some resources appear unused to the instruments, but if I delete them the build fails. I think it's due to how the annotations library imports the layouts into the java classes. I will fix this by replacing that library with modern alternatives. You already replaced that library in version 6.0.0 beta, but almost 10 years passed since then, and I want to explore the new approaches such as viewbinding.
    So I'll fix it, in due time.

    The Google Tasks setting still exists in settings/synchronization [...]

    In #427 I have hidden those settings and in #426 I explain why the functionality is being removed.
    I will still wait some time before completely removing it, I mean maybe someone will show interest in this functionality and pick it up and work on it.
    But yeah we agree that eventually it will be completely removed.

    Settings/About still reference https://crowdin.com/project/nononsensenotes [...]

    I have no experience with translation services, and I honestly just ignored this part.
    Maybe we can take down the crowdin page, then have a clean start on weblate.
    In #427 i removed references to crowdin from the app, so now there should be no ambiguity.
    How much maintenance would weblate require ? Is it something where we can import updated strings.xml files every once in a while, or does it require more attention ?
    Personally, I'm fine with strings in english, so I will give this secondary importance, unless it's a very quick & easy thing to setup.
    Migration to weblate is in the TO DO list in #387

    Settings/About maybe give yourself more credit [...]

    Done in #427 (I was afraid I'd sound too arrogant if I did it without getting your approval first)

    Once you feel really ready to make the release, make an annotated git tag [...]

    Once github tests for #427 are complete, I will tag it. Everything else that needs to be done is of secondary importance & tracked in #387 so I think the app is ready to be released. Then we can discuss how to improve the app for version 7.1.0, but there will be time for that

    here is the metadata file [...]

    Checked. I made a simple fastlane structure, I don't know if f-droid will use it. It includes an app description.

  7. CampelloManuel commented on Dec 5, 2022

    @CampelloManuel
    CollaboratorAuthor

    I added the tag.
    You can go ahead and publish it on f-droid.

  8. spacecowboy commented on Dec 7, 2022

    @spacecowboy
    Owner

    Is it something where we can import updated strings.xml files every once in a while, or does it require more attention ?

    Weblate is nice because it creates a pull request automatically with the strings.xml changes. So it's extremely low attention once it is set up. I can help with it later if you want.

    Checked. I made a simple fastlane structure, I don't know if f-droid will use it. It includes an app description.

    F-Droid will use the app-specific description if it exists.

    F-Droid MR here also: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/12209

  9. CampelloManuel commented on Dec 8, 2022

    @CampelloManuel
    CollaboratorAuthor

    In #429 I fixed the code based on the feedback from the f-droid team.
    Now the app descriptions are in our fastlane folder, so you can delete them from their fdroid/data repository. Also, the version code is now static.

    I'm going to make a new release for this (7.0.1),
    but first I want to add a link to a weblate project in the app's about page.
    I can try to set it up on my own, but I've never used it before.
    Is there anything you require ? For example, do you want some specific settings or project name in this weblate thing ?
    If not, I'll simply set it up and test it, then I'll have you take a look so you can give feedback.

  10. spacecowboy commented on Dec 8, 2022

    @spacecowboy
    Owner

    In #429 I fixed the code based on the feedback from the f-droid team. Now the app descriptions are in our fastlane folder, so you can delete them from their fdroid/data repository. Also, the version code is now static.

    I'm going to make a new release for this (7.0.1), but first I want to add a link to a weblate project in the app's about page. I can try to set it up on my own, but I've never used it before. Is there anything you require ? For example, do you want some specific settings or project name in this weblate thing ? If not, I'll simply set it up and test it, then I'll have you take a look so you can give feedback.

    As an example you can see how I've setup weblate for feeder: https://hosted.weblate.org/projects/feeder/

    There is one component for Android strings, and one component for Fastlane files.

    The android strings need the correct setting or the language codes generated when users add languages are wrong. See screenshots of what I use on Feeder:

    Screenshot from 2022-12-08 23-07-19

    Screenshot from 2022-12-08 23-08-18

  11. spacecowboy commented on Dec 8, 2022

    @spacecowboy
    Owner

    I've updated the F-Droid MR. Just waiting on 7.0.1 for the final change @CampelloManuel

  12. spacecowboy commented on Dec 9, 2022

    @spacecowboy
    Owner

    F-Droid has merged the MR so it will show up soon!

  13. CampelloManuel commented on Dec 9, 2022

    @CampelloManuel
    CollaboratorAuthor

    The tag 7.0.1 is available, now it should comply to all f-droid requirements.
    Weblate is set up here: https://hosted.weblate.org/engage/no-nonsense-notes/
    Proof that it works: #430
    So if now you need to contact the f-droid team, I'll leave that to you.
    When I see the updated version here https://f-droid.org/packages/com.nononsenseapps.notepad/ I will close this issue

  14. CampelloManuel commented on Dec 11, 2022

    @CampelloManuel
    CollaboratorAuthor

    Well, there it is.
    @spacecowboy is there anything else we need to do for f-droid, or will they automaticall publish the updates when we make new tags ?

  15. spacecowboy commented on Dec 12, 2022

    @spacecowboy
    Owner

    Well, there it is. @spacecowboy is there anything else we need to do for f-droid, or will they automaticall publish the updates when we make new tags ?

    Should happen automatically from now on. I can recommend a small shellscript or similar which bumps versionCode, versionName, and then makes a git tag.

    It's easy to forget one of the three.

  16. CampelloManuel commented on Dec 12, 2022

    @CampelloManuel
    CollaboratorAuthor

    Nice.
    The shell script will be added in the next PR.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions