Questions tagged [github]

GitHub is a web-based hosting service for projects that use the open-source Git revision control system.

Filter by
Sorted by
Tagged with
54
votes
5answers
9k 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 ...
2
votes
1answer
195 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
0answers
99 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
2answers
68 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
1answer
97 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
1answer
82 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 ...
64
votes
8answers
12k 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
1answer
81 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 ...
-2
votes
1answer
70 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
2answers
167 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 ...
3
votes
1answer
55 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 ...
3
votes
2answers
192 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 ...
-3
votes
2answers
152 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
1answer
43 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
4answers
354 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
0answers
59 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
2answers
115 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
0answers
63 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....
1
vote
1answer
268 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
2answers
287 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
1answer
452 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 ...
0
votes
1answer
238 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
0answers
73 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
0answers
36 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
1answer
131 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
1answer
150 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
1answer
89 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
1answer
57 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
6
votes
5answers
2k 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 ...
3
votes
0answers
65 views

Can/Should I make an automatic installation of new python libraries after a git pull?

Imagine the following situation: I'm working on a python project, and I install the library antigravity with pip. I add the function fly() which uses the library, and I commit and push the changes. ...
8
votes
4answers
399 views

Should detected vulnerabilities in old commits be remedied?

One of my projects on GitHub has received a vulnerability alert, in this case of moderate severity. The vulnerability has been detected in a dependency of an old version of the code. Current versions ...
1
vote
3answers
618 views

Waiting on Multiple GitHub PR Merges

Scenario: I fork a project and submit a PR on Feature A, and then another on Feature B. I want to continue working with both features while I'm waiting for the PRs to be merged (theoretically they ...
4
votes
3answers
1k views

Effective Project Management spanning multiple repos in Github

We've got a system called Foo hosted as a repository in Github. The system depends on a couple more microservices, called Bar and Baz. Each of these microservices is hosted as a separate repository. ...
0
votes
1answer
513 views

how to merge or update a template repository?

I have a template repository consisting of a folder structure, scripts, makefiles, example files (text templates) etc. The easiest way would be to clone the repo, delete the .git folder and create a ...
3
votes
3answers
1k views

How to avoid pushing Github Enterprise code to my personal Github account by mistake if both are configured in my work computer?

Setting the debatability of using personal accounts on the workplace aside. Context: The company I work for is dedicated to creating apps for other companies. Because of this we have many different ...
2
votes
1answer
102 views

How to reduce the chances of getting merge conflicts occurring in two projects of same cloned codebase

I have two applications A and B. Application A was written before application B, actually B was initially the same fork of A thus, each of the application had the same modules and same code in it. ...
-1
votes
1answer
61 views

Check files after git push, or; best practices for github after push tests

Sometimes our developers push -simple to find- mistakes to our repos, like a missing ";" a "console.log" that is not suppose to be in the main branch, or an invalid json file. With Github you can add ...
-3
votes
1answer
152 views

Should I directly use pre-built codes on Github? [closed]

I need to know if is it correct to use pre-built codes on Github, or try to build it my self, while even I tried to build it I think it won't be as proffissional as that one on Github... the point is ...
1
vote
1answer
191 views

How do I manage a development journal?

I am working solo on small development projects on my own time, using Git. For each project, I like to have a development journal which is associated with that project and not associated with other ...
0
votes
1answer
171 views

Github project card to branch creation to PR acceptance to done column

How can I achieve a workflow in GitHub such that when you create a card in todo column of a project, a branch will be created which you can start working on? When you PR the branch and merge, it will ...
-1
votes
1answer
153 views

How, in eclipse do I work with an existing maven project in GitHub without ending up checking my .project file?

I have a maven project in GitHub that I wish to work with using eclipse. I want to keep the GitHub repository clear of any eclipse project artifacts such as the .project file. Is there a way to do ...
1
vote
1answer
259 views

Can features deployed with GitHub Flow disappear from production?

I'm trying to get a better understanding of Git workflows and read this blog post. What happens after a merge to master if another feature is waiting to deploy? The deployment from master is delayed ...
0
votes
2answers
282 views

My Project is a Combination of Github Projects. Should I upload this onto Github?

I cannot go into the specific details of my project since it is in a very nascent research stage. However, there is a fair bit of information that I can disclose. My project architecture consists of ...
2
votes
2answers
154 views

Definition of a feature in GithubFlow model?

I have been using git for a while now primarily on CLi. I am the only person working on this project so far. I just have 1 master branch and 1 production branch. The production branch is named such ...
6
votes
1answer
1k views

Once I did a PR on a repo, should I delete my fork?

I'm working on a free proyect over Github. I fork it, made some changes, did a PR and everything worked ok (PR was accepted). Then I update my fork with upstream, did some other changes, and made ...
5
votes
4answers
2k views

How do we avoid development files in the release?

Situation: Our Python project is hosted at GitHub. The actual release should only contain handful of files, but or project also contains several non-release files that are required for testing and ...
11
votes
3answers
391 views

How do I start using Git for differing code bases from different servers?

Background: I've recently inherited a set of projects at my company and I'm trying to sort out some fundamental issues with how they've been handled. Namely, the previous developers (who are no longer ...
3
votes
2answers
424 views

Are you supposed to fork a repo if you're porting it to another language?

I'm new to forking and open source and I'm porting a Rust library into Swift but I wasn't sure if I needed to fork the original repo and then replace it with my new files or just upload my own repo ...
3
votes
1answer
4k views

Organizing multiple projects on GitHub

I am a freelance developer. I have multiple clients, each client has multiple projects, and each project has multiple distinct pieces of software. I recently migrated all my source control from my old ...
1
vote
1answer
1k views

How much am I allowed to use someone's else code as my fork?

If I fork someone's else repository (say, under my brand), for instance when I need the code for another, my own bigger project consisting of a number of such repositories, would it be preferred to ...

1
2 3 4 5
7