Skip to content

New apps are published as submodules #1641

@christianlupus

Description

@christianlupus

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a new app using the online app generator and download the .tar.gz file
  2. Unzip the archive (e.g. tar xzf ..../app.tar.gz)
  3. Enter the unzipped folder (e.g. cd helloworld)
  4. Create a git repo from the (e.g. git init .)

Expected behaviour

A git repo should be created, no issues be reported.

Actual behaviour

Upon creating the new repo, I get

fatal: not a git repository: /home/christian/Dokumente/nextcloud-docker-dev/workspace/server/apps-extra/helloworld/../../../.git/modules/nextcloudappstore/scaffolding/helloworld

Looking at .git in the archive, it is a text file with a submodule link:

$ cat .git
gitdir: ../../../.git/modules/nextcloudappstore/scaffolding/helloworld

This comes from the fact, that the scaffolding template is inserted as a git submodule as much as I guess.

Browser

Browser name: Firefox

Browser version: 139.0.1

Operating system: Archlinux

Nothing was logged during browsing the app store. No errors were present or obvious. Just the output data (tar archive) is build in a sub-optimal fashion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions