Before a separate page opened which wiped all edits of the app that
were not saved before.
Deleting screenshots fails because of an bug in the screenshot delete
view fixed in https://gitlab.com/fdroid/repomaker/merge_requests/154.
Related to #88.
This gets rid of the project/app distinction.
Now, there is only one repomaker folder.
No more maker and RepoMaker.
A setup.py file was added to begin distributing repomaker.
Upstream changed the names of all directories to lower case in this commit:
afa0e00683
When updating external NPM resources with `npm install`, the repo publishing task failed with this error message:
```bash
Traceback (most recent call last):
[...]
File "/home/nico/Work/Current/F-Droid/repomaker/maker/views/gitstorage.py", line 83, in form_valid
return super(GitUrlValidationMixin, self).form_valid(form)
File "/home/nico/Work/Current/F-Droid/repomaker/maker/views/sshstorage.py", line 48, in form_valid
return super(SshKeyMixin, self).form_valid(form)
File "/home/nico/Work/Current/F-Droid/repomaker/maker/views/storage.py", line 66, in form_valid
return super(StorageCreateView, self).form_valid(form)
File "/home/nico/Work/Current/F-Droid/repomaker/maker/views/storage.py", line 35, in form_valid
form.instance.repo.set_url(form.instance.get_repo_url())
File "/home/nico/Work/Current/F-Droid/repomaker/maker/models/repository.py", line 248, in set_url
self._generate_page()
File "/home/nico/Work/Current/F-Droid/repomaker/maker/models/repository.py", line 203, in _generate_page
self._copy_page_assets()
File "/home/nico/Work/Current/F-Droid/repomaker/maker/models/repository.py", line 243, in _copy_page_assets
copy(source, target)
File "/usr/lib/python3.4/shutil.py", line 228, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.4/shutil.py", line 107, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nico/Work/Current/F-Droid/repomaker/node_modules/roboto-fontface/fonts/Roboto/Roboto-Bold.woff2'
```
from package.json file.
In the future, we *might* add pre-compiled static files to the repo
to make setup easier for local installations.
Still looking for a proper deployment strategy.