Questions tagged [repository]
Can refer to the data store of a version control system containing the whole history of a project, or to an object that transfers data between the business layer of an application and its data store.
8,547
questions
0
votes
1
answer
13
views
Clone gitlab repository Host key verification failed. fatal: Could not read from remote repository
I'm trying to clone a repository using visual studio but this message shows up
Host key verification failed.
fatal: Could not read from remote repository.
I've already created an ssh key and copied ...
0
votes
0
answers
7
views
Plastic SCM can't detect repository on cloud
Client Configuration Wizard on my pc
I was trying to access the repository of a game being developed in our company. Plastic SCM can't detect any repository from the organization, but can detect from ...
0
votes
0
answers
20
views
Spring JPA entity findBy<Parameter> method giving values in 1st attempt and null in 2nd call?
I have a Spring JPA method to get entity -> findBy<SomeCode>().
The spring boot application comes up and on making a 1st rest call the entity comes up with all values filled.
When tried with ...
0
votes
0
answers
11
views
Error in context.xml file in Spring exercise use Spring Data JPA
I got this error in jpa:repositories line (line2). Can anyone help me, please? Error occured processing XML 'org.springframework.beans.factory.support.BeanDefinitionBuilder
org.springframework.beans....
0
votes
1
answer
31
views
Spring Data JPA custom repository query not returning anything
public class Foo{
private String foo;
private String bar;
//class methods
}
public List<Foo> findByFooBarContains(@Param("bar")String bar) {
TypedQuery<Foo> query = ...
0
votes
0
answers
12
views
Simplifying custom queries in a layered CQRS architecture
Question:
How could I simplify creating custom queries and reduce boilerplate? Also any improvement suggestions for this architecture are welcome.
Background:
I'm developing an .NET MVC application ...
0
votes
0
answers
8
views
hot to moke the typeORM repositery for tesing with jest in the express/koa
I am calling repository methods inside of the service and now I have to write the unit test for the service. I want to moke repositery Class or Method both.
Here is the service code for which I have ...
1
vote
2
answers
51
views
How to check the being unique of the model without sending the model to the update method in laravel?
this is method in UserRepository file:
public function update($request, $id)
{
$new_request = (object)$request;
$data = $new_request->all();
$this->user::where('id', $id)->update($...
1
vote
1
answer
21
views
There is no Github pages section in repository settings
as the title says, when i go to repository settings and scroll down i don't see the Github Pages section. Did i do something wrong ?
I was watching this video because i wanted to add a custom domain ...
0
votes
0
answers
36
views
How to Publish an ASP.net in Azure deployment center using Github repository
does anyone know how to add dependencies in the Github workload or I missing somewhere here
I have an ASP.net and I want it to publish inAzure
so far I try azure deployment center in which my Deploy ...
0
votes
0
answers
8
views
Connection between GitHub user page and GitHub Repository
I'm having issues trying to understand the link between my GitHub pages and the Repositories I create on terminal. How can I connect my terminal to an existing github repository listed on my page? The ...
0
votes
1
answer
27
views
Room DAO to Repository class mapping [closed]
The Guide to app architecture states that "You should create a repository class for each different type of data you handle in your app. For example, you might create a MoviesRepository class for ...
0
votes
0
answers
22
views
How update a forked repository downloaded as zip and modified locally [duplicate]
I have forked a public repository then downloaded it as zip and modified it.
Unfortunately now that i want to update the remote one by my modified local repo, I get so many problems and merge ...
0
votes
0
answers
9
views
I am unable to publishing a notebooks from Watson Studio to Github
I am unable to publish my notebooks to GitHub, I have generated a private token and saved it to my IBM Watson studio. I have also created the master branch on Github but I cannot find the settings tab ...
0
votes
0
answers
20
views
Azure Devops. - Importing from one project/repository to another
I am trying to import project from one repository to another on Azure DevOps and running into this error:
Your import of https://asbc@dev.azure.com/application/repo/_git/mycode repository failed due ...
0
votes
0
answers
13
views
How to Install Wireshark 3.6.5 on Debian 10 from official repository [closed]
I would like to install latest wireshark version (3.6.5) on AWS Debian machine.
Currently it seems that the only version available in the repositories is the 2.6.20 version, as reported by the output ...
0
votes
0
answers
11
views
Flutter objectbox initialization
How can i initialize properly the instance of my DatabaseProvider? I'm struggling with it.
I found solutions but everyone of them initialize objectbox in the widgets, but i would use Bloc pattern in ...
0
votes
0
answers
23
views
Permission Denied for wrong user when I use "git push" [duplicate]
I was using git with my username and email and everything was working well. For one specific project I used different username and email to push some commits for another person. I set back git config ...
0
votes
0
answers
21
views
prevent github to re-order my directory tree wrapping with number
I have a structure on my local like this:
root/
dir 1
dir 2
dir 3
dir 4
dir 5
dir 6
dir 7
dir 8
dir 9
dir 10
dir 11
dir 12
but when i commit it and push to github i get this order:
root/
dir 1
dir 10
...
0
votes
0
answers
79
views
DDD - Repository interfaces in domain or application layer?
There are several posts on stackoverflow about this question, but I'm still not able to understand it fully.
Different architectures like the layered architecture in the blue book, Ports and Adapters, ...
0
votes
1
answer
25
views
Pushing a project with passwords in it
I created a django project and want to share it with my team members, however in the settings files it contains some passwords for the database etc. Of course when I push it to GitHub Git Guardian ...
-1
votes
0
answers
11
views
Have you observed the the App password requirement for Git? [closed]
Has anyone observed that your usual atlassian login password will not work when you try to clone a remote repository? I spent 30minutes troubleshooting before a colleage told me about the new ...
0
votes
0
answers
36
views
Structure for a Back + Front End project when using CDK [closed]
I've been long time thinking and looking for best practices intended to organize a project containing 2 projects (backend and front) while I'm also creating the infrastructure with CDK.
So, i was ...
0
votes
0
answers
26
views
How to test my update method with Mockito
Here is my test Class:
@RunWith(SpringRunner.class)
@SpringBootTest
public class UpdateRestaurantTest {
@MockBean
private RestaurantRepository restaurantRepository;
@Autowired
...
0
votes
0
answers
27
views
.NET/C# Unit of work pattern with generic repositories
Im creating unit of work with generic repository, the question is about a performance in two approaches:
First - creating singleton unitofwork instance and whenever getting a request for any repo ...
0
votes
0
answers
19
views
How to pull the latest commit git with submodule's update init
I have a git-managed project called myProject which contains a submodule called mySubmodule.
There is a point in our pipeline where we clone the whole myProject and then we run this git command: git ...
1
vote
0
answers
13
views
What are other use cases of the Repository class in MVVM?
I know its used for getting Data from the server and cache but what else is the repository class used for?
I’m using the MVVM pattern and wonder where to put I/O operations like saving and writing a ...
1
vote
2
answers
19
views
Must the groupId in a maven dependency match the package of the actual jar?
There's a legacy jar in our product. The package name is from a company acquired years ago. I'm setting up maven dependencies for it, and scripts to do the local-repo install after it's built, so ...
0
votes
1
answer
19
views
How to get the digest of image with specific tag by using Docker repository API from Docker Hub
I am going to get the digest of image with specific tag on Docker Hub.
There are 3 images with different tags on docker Hub.
Could you provide the curl & GET command example for getting the image ...
0
votes
0
answers
23
views
Pushing ReactJS project to Bitbucket repository
I made React project with "npx create-react-app MyProject" and when i try to push it to previosly cloned Bitbucket repository i receive the following message
Untracked files:
(use "git ...
1
vote
0
answers
33
views
make gitolite repository public
How we can gain read access to public gitolite repos, without authentiaction?
More description
As gitolite provide authorization over repos, you can define some repos that all users can access. But ...
0
votes
1
answer
17
views
How to remove Github PAT from Gitlab?
I recently imported a project from Github to Gitlab (Uni Owned) and I had to put my Github PAT in when importing. Now every-time I select New Project -> Import Project From Github I'm immediately ...
0
votes
1
answer
24
views
How do I get notified when someone creates a new Repository in Gitlab?
I need to be notified when someone creates a new Repository in a group (or in the instance) of my gitlab. I want only to be notified on new repositories, not all pull requests, merges, etc.
I have ...
-3
votes
0
answers
21
views
golang: BaseRepository usage with different struct return type [duplicate]
I have the following code with two repositories that have the same functionality but different return types. I want to call the findAll method from the BaseRepository to prevent writing the same logic ...
0
votes
1
answer
50
views
Curl request to batch or windows command line [closed]
I would like to create a github repository using a command line/batch script or whatever on windows. This request works on https://reqbin.com/curl, but I can't get it to work on windows.
Thanks
curl -...
0
votes
0
answers
19
views
Uubuntu 20.4.03 server - local repo set up
I've install and config a local repo server with Ubuntu 20.4.03 using the following link [https://www.linuxtechi.com/setup-local-apt-repository-server-ubuntu/#:~:text=%20How%20to%20Setup%20Local%20APT%...
0
votes
4
answers
57
views
Pushing changes to branch other than main
I cloned a repo from github I made, I did some changes. My repo on github has 2 branches, main and dev. I want to push my changes to dev first and then main.
I ran:
git branch
while in the cloned (...
0
votes
0
answers
21
views
Listing packages in MWAA with a broken scheduler
So, I'm currently working with an Airflow installation via MWAA. I'm having this issue with a broken dependency, specifically:
ERROR: pip's dependency resolver does not currently take into account ...
0
votes
0
answers
22
views
An internal error occurred during: "Repository registry initialization". java.lang.ArrayIndexOutOfBoundsException
please help me with this: Whenever I open my STS, a pop up came as an internal error that occurred during: "Repository registry initialization". java.lang.ArrayIndexOutOfBoundsException ...
-2
votes
1
answer
63
views
What problem is trying to solve a Git --bare repo?
I think I understood the practical difference between a bare and non-bare repo in Git, but I really don't get why logically this distinction exists: why Git had to implement the concept of bare and ...
0
votes
0
answers
19
views
Update helm realease values without access to the chart
I am currently trying to make changes to system where access to the helm chart is not given.
Basically I am trying to call:
helm upgrade my-already-working-software "chart-should-go-here-but-I-do-...
0
votes
1
answer
23
views
Renovate: exclude or regex repositories?
Goal: renovate repositories, regex include/exclude
Using renovate repositories, is it possible to regex to include/exclude?
For example, this explicitly two repositories:
repositories: ["ACT/...
0
votes
0
answers
30
views
Added package to yum but it is not available to be installed
I have added an older version of a package (3.28.3-6) to yum server under: /repo/repos/centos/7.9.2009/updates/x86_64/Packages, then ran yum clean all along with all the cache, metadata, etc. cleaning ...
0
votes
1
answer
30
views
NextAuth and TypeOrm - Retrieve a repository in an api endpoint
I've got an NextJS app with NextAuth and TypeORM.
I'm looking for the possibility to retrieve a specific user or custom entity in an api endpoint.
However, i don't know how to do this properly.
I don'...
0
votes
0
answers
22
views
How to connect my Bot Framework Composer development with a code repository?
My team is starting a bot development on Bot Framework Composer but we did not found a document about integration with repositories.
We want to implement CI/CD on this project and connect our repo on ...
0
votes
0
answers
24
views
Alternatives to Codemeta
Are there other standard/specifications that define meta information about a repository besides codemeta? Before committing to the first found option, I'd like to see what others exist or if there's ...
0
votes
1
answer
11
views
A problem with getting Hibernate to work in Spring Boot
I wonder why I do not get this tutorial to work: https://www.baeldung.com/spring-boot-hibernate
I am using MySQL and the example is H2, but is that relevant?
I have the repository class like this:
...
0
votes
0
answers
13
views
Cloning the Repo into my local device from Github
I am having issues when I am trying to clone a Repo from my Remote GitHub to local device into Eclipse. After I paste in the URL and enter the User Id and Password into the Authentication dialogue box,...
2
votes
1
answer
24
views
Domain Driven Design repository for child aggregate entity
After reading about DDD and Aggregates and taking a look at some StackOverflow posts like this
Update an entity inside an aggregate
Some doubts about aggregates' responsibilities and repositories come ...
0
votes
0
answers
50
views
Problems with rendering the results of searching in Symfony 5.4
I've recently started learning Symfony (from Documentation and Google;) so I have a lot of problems.
I want to search for games according to selected attributes (name, category, age, number of players,...