I have added my first repo in RepoMaker. Set up the git storage with ssh key is done. But RepoMaker isn’t uploading the files ?
In ‘share’ option is only the button for adding the storage available.
How can I upload / publish the f-droid repo ?
I think the issue is, that I don’t have an LogIn screem as shown here when I’m starting RM
I think the issue is this. When I’m starting the web interface with this command
ich@ich:~$ repomaker-server & repomaker-tasks & xdg-open http://127.0.0.1:8000/
I’m getting this mnessages:
repomaker-tasks: command not found.
repomaker-server: command not found…
Whut? My tuts don’t work? First time I hear that. But with the second paragraph you write
Well, that’s what my tuts are about? Ah, I guess you refer to the article on Repomaker itself. That was written quite a while ago; as Repomaker is currently unmaintained I have no idea if it still works.
Maybe you give Setting up a simple binary F-Droid repo a look. It also mentions a Docker solution (created by @TheLastProject), where you’d just need to drop-in your APKs and the setup takes care for the rest. Your GUI then could be the file explorer
OK, as I have written before, I have created a repo with this. But how can I add screenshots ?? For this action I can’t find any tutorial
And an other question: Which icon is shown in app overview or as app icon ? ic-launcher or ic_launcher_foreground or ic-launcher ?
Because 3 of my apps are show the right icon and 3 don’t show any icon
Ah – that’s correct, that was planned as the next part of the series. OK, a short “how-to” on that as I’m unlikely to write up that next part within the next few days:
Placing graphics and support for multiple languages rawly follows the structures of Fastlane, as described in my Fastlane Cheat Sheet – with the difference that it’s split up a bit (at least the way I use it with my repo, to avoid duplication):
text files (short_description.txt, full_description.txt etc.) are placed into metadata/<packageName>/<locale> – e.g. metadata/com.example.app/en-US/, with en-US being mandatory
icon and featureGraphic go into repo/<packageName>/<locale>
screenshots are stored in repo/<packageName>/<locale>/phoneScreenshots (and optionally the corresponding directories for other sizes, as described by the Cheat-Sheet – though I don’t use those with my repo)
From those places they are picked up automatically when you build an index. If you want to use those text files, you must make sure that the corresponding parts are removed from the app’s YAML file, which otherwise takes precedence (e.g. for full_description.txt to be picked up, the *.yaml must NOT have a Description: set).
As for the icons: I’m not sure which one is picked up (if you place an icon.png in the fastlane structure as described above, that should be the one used IMHO). I just know the only supported formats are PNG and maybe JPG (unless something changed since I’ve learned that), so if you e.g. used WEBP that might be the reason it’s ignored.
Please read my previous post again: where shall the pictures go? You’ve placed them inside metadata, according to your 3rd screenshot. I wrote they should go to repo/<packageName>/<locale>/phoneScreenshots/* (for the screenshots) resp. repo/<packageName>/<locale>/ for icon/featureGraphic. If you do as I described, it should work It does here.
PS: Let me explain the logic, maybe it’s easier to remember then.
All that’s distributed must be inside repo/.
All from inside metadata/ goes straight into the index, which is created inside repo/.
As pictures cannot be embedded to the index, they must be placed inside repo/ themselves.
look where the icons are placed when extracted from the APK files: inside repo/.
Hence the division: placing text files into metadata/ so they can be parsed for creating the index – and placing pictures into repo/ so they can be distributed directly.
(emphasis added). Fastlane structure as in the cheat-sheet is for placing it in the app’s repo. F-Droid’s internal structures rawly resemble that, but with a slight deviation (as described).
I have no idea what you did now, as the screenshot only shows part of it. But that the icon folders are on the same level as the metadata one looks plainly wrong. Did you place a metadata folder inside repo/? It doesn’t belong there. The structure should look like this:
That structure looks correct to me and should work – provided your “repo root” is /media/ich/data/repo and not /media/ich/data, and you run the fdroid commands from inside /media/ich/data/repo. The only thing I wonder is that I see a config.py there – which means you’re using a pretty old version of fdroidserver (recent ones have a config.yml).