Comments (3)
I don't know if gitness supports personal repos which do not belong to any project but only belong to the user like GitHub
The short answer is no. There is no concept of a personal repository in Gitness.
Like GitHub, all repositories in Gitness must belong to a namespace (e.g. github.com/bradrydzewski
would be the equivalent of gitness.com/bradrydzewski
). The main difference is that GitHub creates a namespace automatically for every user account and GItness does not. If you want a personal namespace in Gitness, you would create a project with only you as the member.
from gitness.
How do I fetch all repositories belonging to the project?
from gitness.
This is the endpoint for returning a list of all project (space) repositories
http://localhost:3000/api/v1/spaces/{space}/+/repos?page=1&limit=20
Note that the Gitness user interface uses the API. So when in doubt, you can use Chrome Developer Tools to determine which endpoints are being called to fetch data.
![Screenshot 2024-06-04 at 10 47 35 AM](https://private-user-images.githubusercontent.com/817538/336499176-a205bcf9-aee3-45c3-965a-e67f6a4a2c2e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MDI0ODQsIm5iZiI6MTcyMTQwMjE4NCwicGF0aCI6Ii84MTc1MzgvMzM2NDk5MTc2LWEyMDViY2Y5LWFlZTMtNDVjMy05NjVhLWU2N2Y2YTRhMmMyZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOVQxNTE2MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05N2Y3NGQ3OTg2YzYyZTdkNTQyNmE0OGVkZjRmZDJlZDU1NmRlZGFjZjA5ZjRkMDZkZWJlZGVjYTVmMTgwZDkyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.2oGGX33dBIzj6T_5maPJ1RdFAUk9RUd7JHp-8O7REA0)
There is also an interactive Swagger frontend that you can use to explore the API
http://localhost:3000/swagger#/space/listRepos
from gitness.
Related Issues (20)
- Deploying Code on Different Runners based on Branches in Drone CI/CD HOT 1
- Helm chart missing index file HOT 1
- Opensource Website? HOT 1
- Git HTTPS Protocol - New Branch Creation Rule Not Blocking Push from CLI but Works via UI HOT 2
- Project and repo deletion actually do not delete the db spaces + repos, and do not free disk space HOT 1
- Pipeline Only Mode HOT 1
- Bug: Improve public repositories experience when visited HOT 1
- Feature request: explore tab
- Using drone is a real pain
- Gitness Integration with Open Source Dev Environment Manager. HOT 2
- Gitness Integration support HOT 1
- Error: Changes blocked by files exceeding the file size limit HOT 2
- using pipelines with Docker-in-Docker samples, Error: mount: permission denied
- Gitness - Unauthenticated Git Pulls HOT 1
- Bug: browse the files within the "search" directory. HOT 2
- Bug: After delete the project, the menu still shows the deleted projects.
- Feature Request: MFA or external authentication via OAuth2/OIDC
- Feature Request: Support for Displaying the Webhook Execution List HOT 1
- Error: pipelines clone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitness.