Questions tagged [github]
GitHub is a web-based hosting service for projects that use the open-source Git revision control system.
343
questions
0
votes
2
answers
93
views
GitHub Versioning - Organizing Structure
I am making a JS library that creates graphs and charts using canvas. I have hosted it on GitHub as a public repository.
So after looking at some other related questions, I have figured out two ...
-4
votes
1
answer
118
views
In terms of Software Engineering, can GitHub be Agile? [closed]
I know this question might sound stupid to many, but - in terms of rigorous IEEE definitions - can we say that GitHub allows some kind of Software Life Cycle or some management paradigm in particular?
...
8
votes
3
answers
698
views
Should I gitignore env files in my private repo?
I have some .env files for my backend application and the usual recommendation is to put all .env files in gitignore to not share it in the repo and use something like Github Secrets to store the .env ...
0
votes
1
answer
656
views
Appropriate naming for (GitHub) repositories belonging to the same project [closed]
I have some issues selecting an appropriate naming scheme for GitHub repositories that belong to the same project. The main package repo relies on additional repos to generate documentation or run ...
-1
votes
2
answers
115
views
Nightly build, GitFlow and PR [closed]
My customer decided to have an automatic nightly build based on develop branch.
We usually make a feature branch (and if it is necessary we provide a release compiled manually on that branch) and when ...
0
votes
2
answers
138
views
Git branching model that support small changes and downstream dependencies
Challenge:
I am implementing a microservice/app/applet.
Several features will be delivered
As things develop later features rely/depend on earlier Pull-Requests (PR)
Developer resoruces are finite, ...
2
votes
1
answer
212
views
Setting up tests and a continuous integration pipeline in a polyrepo environment
In the past I've mainly worked with monorepos, specifically a Vue.js app that was served by a rails backend.
Setting up E2E/integration tests in the CI was simple, because all the required parts were ...
1
vote
0
answers
28
views
List Git branch currently on each EC2
We have a handful of AWS EC2s set up for testing ongoing feature developments. I'm wondering if anyone knows an easy, automated way to keep track of which git branch we're testing on each EC2. Maybe ...
1
vote
4
answers
640
views
Can I upload the entire postgres DB on Github?
Basically, here's the problem.
I work remotely for a company, and I need to have a local copy of the production database to play around with it and test my work on it before pushing the code. The prod ...
0
votes
0
answers
111
views
Sole software engineer for a small company. How to handle deployment?
I'm the only software engineer for a small company and I want to make my deployment process more robust because I can't work away from my dedicated workstation with my current process. I only make ...
0
votes
1
answer
187
views
What to do with a big pull request for just one feature?
We are using git flow as a branching model, and we have a feature ticket that conceptually is a pretty small feature in the software management tool, in this case Jira.
The thing is that the code on ...
0
votes
2
answers
164
views
Is editing a Github/GitLab issue a good idea?
I'm starting to define how issues should be handled in GitLab. Most specifically whether the author should be editing the original issue to keep it up to date or use only comments.
Let's say that you ...
0
votes
1
answer
1k
views
How to organize multiple microservices in a GitHub repository?
I am setting up a Github repository for a project that will have multiple Microservices.
I have created a sub-directory for each microservice under One Repository.
ProjectRepository
\Services
...
0
votes
3
answers
94
views
How do I create a second App in git where only a few files throughout the Tree are different from the first app
I will have to create a second app based on the first app. The second app shares 98% of the code (Some of the UI is different). I am wondering how to set up the second app without creating a merging ...
-3
votes
2
answers
253
views
Correct standard to do a pull request when the local branch is outdated against the remote repository
The scenario is the following:
For a project, such as Spring Security available on github, the following is accomplished:
forked and cloned
git remote add upstream URL-Remote-Repository
git fetch ...
32
votes
3
answers
8k
views
What is the best way to code review a work-in-progress?
I am working on a feature with a system that I am unfamiliar with. The feature is not ready, but I want to show the code to my team (who is familiar with the system) so they can give me early ...
0
votes
1
answer
95
views
How would one go about connecting API routes from one GitHub repository to another?
This may be a basic question, but I'm having some difficulty finding an answer online.
My project is a MERN application that draws from an existing open-source API. This API utilizes a database that I'...
0
votes
1
answer
69
views
Distribute commit files between different repositories
I am not sure if what I'm asking is even possible (or desirable, for that matter), but we were wondering what would be the best way to handle SQL changes to a Database schema, when this schema is ...
2
votes
0
answers
374
views
GitHub flow: how do I test my changes that cannot be tested locally?
I am trying to start using GitHub flow in my project. I like that it is simple and, more importantly, it encourages continuous delivery.
However, there is one thing about this flow that I cannot ...
-1
votes
1
answer
177
views
Git merging on an existing PR
wanted to know if this is possible.
Consider we have Branch A that is in a PR waiting to be merged. On a local branch, I pull the changes made in branch A and now they exist in my branch B. I ...
-4
votes
1
answer
114
views
Proper style for Github naming conventions
I am new to the world of open source and just set up my Github account. I was wondering if there any naming conventions/styling guides to follow when naming things such a repositories. For example, in ...
100
votes
5
answers
16k
views
Should I submit a pull request to correct minor typos in a Readme file?
While going through the README file of a GitHub repository I am not a contributor of, I noticed a few minor typos and wondered if I should submit a pull request to correct them or if reviewing the ...
8
votes
1
answer
8k
views
Should frontend and backend be on separate GitHub repos?
We are new to git, but this fundamental question needs to be sorted out before we can begin. It's two devs who have been working standalone for a while. Now the time has come to adopt git (at the ...
2
votes
0
answers
113
views
Minimizing infrastructure code surface for NodeJS microservices and libraries
My company has about 200 repos for microservices and libraries that we share. It's largely been great, but it's hard to keep DRY at the organizational level. We'll often have a large amount of package....
-1
votes
2
answers
341
views
Should we create review branch in github to story or subtask of jira?
I have an 8 pointer Story. Let’s call it for example XX1234
I have created 4 subtasks based on the list of actions to follow to complete the whole story implementation:
1. XX1235
2. XX1236
3. ...
-4
votes
1
answer
112
views
What to concern when publish code with an API call on GitHub? [closed]
I'm learning the way to use API right now. Since I want to publish the code on GitHub, I have some question about it.
1.
I will use public API, however, there are APIs with authorization and those don'...
1
vote
1
answer
105
views
How to design config files for each environment in github?
I have a list of application configs and business configs in a particular root folder inside our git repository.
Below is our current structure as of now:
We have a root Data folder and inside that ...
68
votes
8
answers
14k
views
In code review, should I ask to do a refactor outside of the scope in a pull request?
I have been studying the best practices for a code review, and I was wondering what to do in the following scenario:
During a code review, I see potential improvements, but decide that they are ...
-2
votes
1
answer
90
views
How to start developing a well architected Javascript Library?
I want to start developing an. open-source javascript library. I can see other open-source libraries are well structured. They have src, dist, test kind of folders, etc.
Which is making me very ...
-1
votes
1
answer
90
views
What is the most effective way to explain code in a code review using a pull request?
I work for a small company with only three programmers (including myself).
Our workflow is:
We write the code;
We create a pull request on Github;
We ask for code review;
We merge the pull request.
...
1
vote
2
answers
222
views
Should we include the entire sources of the libraries used in our project?
I'm used to using static link libraries in my projects. This doesn't make the solution heavier and allows to be updated more easily.
However, I see some GitHub repos providing in their sources the ...
4
votes
1
answer
1k
views
Best way to go about including C/C++ dependencies in Python packages?
I would like to include fastparquet as a dependency in a Python library I am working on but it requires Microsoft Visual C++ to build. The goal here is for the end user to be able to easily install my ...
4
votes
2
answers
1k
views
Git commit hashes and Git merging between branches
We have a scenario where we'd like to use two branches in our git workflow, otherwise known as develop and master.
The current flow is as follows:
Create feat-branch - this branch will be based off ...
-2
votes
2
answers
1k
views
Using Github Branches to maintain two versions of a project?
I have a Github project for a Django web-app that one team uses. Other teams are interested in also using it and they'll need separate instances of it (it's a stock tracking database so they need to ...
0
votes
2
answers
83
views
Validating provenance of release binaries of github projects obtained from Maven repository
If I obtain a release build of a github project from a Maven repository, how can I securely verify that it's the authentic build?
DETAILS
That was my X question. My Y question follows.
Maven's ...
3
votes
4
answers
365
views
How to ensure that developers see only the project modules they are working on?
This is my first time PM experience. I have created a developer team and we want to work on an Angular-NodeJS project.
I have defined some tasks and divided the project into the different modules/...
1
vote
0
answers
302
views
How to run the Unit Test on Master branch using hook before merging the incoming changes of other branches
We have project which have more than 500 unit test and run for hours through Jenkins CI pipeline. In case there is failure of single UNIT test we need to kick off the build job again. I want to run ...
-5
votes
2
answers
128
views
How to make my team of developers follow our Git workflow [closed]
We have a team of 6 developers working in multiple technology stack. Most of these developers have little experience 1 - 2 years to be precise.
We are very successful on enforcing coding standards ...
1
vote
0
answers
92
views
How to setup git repository subfolder mirror?
It is known that Laravel Framework consist of library collection named Illuminate. In which some libraries are mirrored into separate repositories, right under https://github.com/illuminate/ namespace....
2
votes
1
answer
473
views
Should I fork in Github if I won't make pull requests?
There's a RFID Reader library for Arduino that I wish to adapt to another reader model. But since the original library not only has the same name of the reader it supports, the reader model name is ...
1
vote
2
answers
376
views
Should feature branches always branch from develop?
I'm a Rails developer and I've always had this doubt, let's say I have to develop things for the user's controller and views (branch feature/users-endpoint) and imagine I end up developing several ...
2
votes
1
answer
1k
views
Request changes to a commit message during code review on GitHub
I am trying to teach good engineering practices to my team, and in particular, walking them through the basics of PRs and code reviews on GitHub. One of my team members has sent me a request to review ...
1
vote
1
answer
436
views
Branching strategy with GitHub releases
I am working on the project where currently we have following three fixed branches
Develop - The code is deployed to development environment. It's a base branch for anyone who want to add new ...
0
votes
0
answers
143
views
Separating Development and Deliverables with Git/Github
I am looking for some advice on the best way to manage my development worflow. I have been using git locally to track development and have recently uploaded a couple of private projects into Github.
...
0
votes
0
answers
47
views
Do I need provide translation for an UI library
I have a library for a lockscreen in Android, that includes diferent dilogs for fingerprints, texts and all that stuff. My question is: What the best practice to provide localization. Should I have ...
-3
votes
1
answer
148
views
Designing a mentoring system over GitHub
I am developing a system that has a list of projects (verified by mentors) to which a student can provide a solution. Now I am stuck in a situation about how the student will submit their solution for ...
3
votes
1
answer
204
views
Git structure for multi platform projects
Currently I use SVN for my project and the structure looks like this:
trunk/SharedLibrary/
trunk/platform/wordpress/ <- platform base directory
trunk/platform/wordpress/SharedLibrary <- ...
-1
votes
1
answer
166
views
Is it possible to disable all pull request merges into a particular branch while a build is running for that branch?
We are using GitHub and CircleCI. I know that pull request mergeability can be made to be dependent on the most recent commit, using status checks. Is there any way to make it depend on whether or not ...
-2
votes
1
answer
60
views
Is there a package format for packing source code files, that provide end-users an easy and straight-forward option to compile (& install) the program
For example in addition "Open" action, "Compile & Install" be another available action when user click on package
7
votes
5
answers
5k
views
Git branches: Merging issues while having multiple release branches
We have to support multiple releases, so we are following git branching model similar to the above diagram. Now the problem is that we have to do lots of merging here example for fix/011, we are ...