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

Missing advanced settings (PR and project) #12788

Closed
2 of 7 tasks
LecrisUT opened this issue Sep 10, 2020 · 3 comments · Fixed by #12808
Closed
2 of 7 tasks

Missing advanced settings (PR and project) #12788

LecrisUT opened this issue Sep 10, 2020 · 3 comments · Fixed by #12808

Comments

@LecrisUT
Copy link
Contributor

  • Gitea version (or commit ref): Gitea version 1.13.0+dev-353-g1de19e0c7 built with GNU Make 4.2.1, go1.13.4 : bindata
  • Git version:
  • Operating system: Centos 8
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

In the advanced settings of a new or migrated repository the option to enable Pull requests and/or projects is missing.

Screenshots

Screen Shot 2020-09-10 at 11 26 27

@zeripath
Copy link
Contributor

zeripath commented Sep 10, 2020

So empty repositories don't display the pull requests setting - this is a bug and I'll submit a PR for that now.

In terms of projects you will need to check your app.ini - you may have set:

DISABLED_REPO_UNITS = ...
DEFAULT_REPO_UNITS = ...

The provided app.example.ini is NOT meant to be copied across and used as your default app.ini. Do not have settings in your app.ini that you do not understand.

zeripath added a commit to zeripath/gitea that referenced this issue Sep 10, 2020
Fix go-gitea#12788

Signed-off-by: Andrew Thornton <art27@cantab.net>
@LecrisUT
Copy link
Contributor Author

Those were the config I needed to know thanks. A bit unintuitive with how the example.app.ini is presented. I guess it should read as the default settings that are already set, and not as the default settings to be set.

@LecrisUT
Copy link
Contributor Author

I've just double checked and with empty DISABLED_REPO_UNITS = and the DEFAULT_REPO_UNITS = ...,repo-projects still the projects do not show up. I have also checked-out the linked PR and the same behaviour on both already made repos and new repos. Are there any specific logs I should provide?

zeripath added a commit that referenced this issue Sep 11, 2020
Fix #12788

Signed-off-by: Andrew Thornton <art27@cantab.net>
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants