Questions tagged [codebase]

The term codebase, or code base, is used in software development to mean the whole collection of source code used to build a particular application or component.

The codebase for a project is typically stored in a source control repository. A source code repository is a place where large amounts of source code are kept, either publicly or privately. They are often used by multi-developer projects to handle various versions and developers submitting various patches of code in an organized fashion. Subversion and Mercurial are popular tools used to handle this workflow, and are common in open source projects.

152 questions
1
vote
0 answers

Utils files in Python

In C++ codebases you tend to extract out certain commonly used small functions to a utils.h header file for reusability and to avoid defining them as methods when they are not class methods per se. What would be the equivalent practice in Python?…
A. Fenzry
  • 414
  • 3
  • 12
1
vote
1 answer

Firefox codebase checkout hangs

I'm planning to study Firefox codebase. I tried to checkout repository as follows: C:\mozilla\firefox> hg clone http://hg.mozilla.org/mozilla-central destination directory: mozilla-central requesting all changes adding changesets adding…
Morin
  • 227
  • 2
  • 4
  • 11
1
vote
1 answer

RMI with multiple JAR inclusion

I am coding a RMI program with 3 JAR: RMIServer, contains server-side classes RMIClient contains client-side classes RMIResource contains server & client shared content (interfaces, custom exceptions) To make separate JAR files, I created 3…
Bernard Rosset
  • 4,523
  • 6
  • 27
  • 29
1
vote
1 answer

Gitlab showing all target branch commits in new merge request

I branched from develop while working on a project, and when I made a merge request, Gitlab is showing all the commits on branch develop, whereas I only made two commits on the branch itself. It is the same time even when I try from an entirely new…
Korlahwarleh
  • 143
  • 11
1
vote
0 answers

How to dynamically change Default Schema name in Code-Based Migration .resx file?

I have code-based migration implementation in my project (Windows Form Application - Entity Framework 6). I want to change(update) Default Schema name dynamically in Migration .resx file. What i tried from my side Already tried with this things but…
Vipul Odhavani
  • 127
  • 1
  • 9
1
vote
1 answer

Codename One - Improve Layout Animation Usage

Following the instructions in this documentation about Animations and Transitions, it is noted that animation done on the Form level requires taking the contentpane as the actual Container. So instead of form.animateLayout(1000); one has to…
Lequi
  • 539
  • 2
  • 13
1
vote
1 answer

Codename One - bug in calculating Label and Icon position

I went ahead in creating my own Button components, overriding the paintBackground(Graphics g) method to have some circular charts displayed right with the button. Example of desired result: What I ended up with though was pretty close, but not…
Lequi
  • 539
  • 2
  • 13
1
vote
2 answers

Monitoring Code Repo if Checked out on Users Computer

Not sure if this is the place to post this question but I was wondering if anyone is aware of any apps which allows you to track your GIT repo code base if it has been checked out on another users computer. When I mean track, I mean prevent them…
Shivam
  • 2,208
  • 3
  • 24
  • 39
1
vote
2 answers

Reasons not to update broken code in a live system?

In my current job, there is an error in the live code base which has been identified in one service. We have identified a relatively small code change which would fix the issue and it has been confirmed to work in a test environment. But, as this…
KeithC
  • 436
  • 1
  • 6
  • 25
1
vote
1 answer

Is it bad software architecture in C++ to create a wrapper class instead of designing from scratch?

I'm creating a 3D game engine on my own using OpenGL and the C++ (with the Boost Libraries). I guess it goes without saying that it is a LOT of work. To lighten the load, I have started to create wrapper classes for things in Boost that closely…
Zack Frost
  • 155
  • 1
  • 12
1
vote
1 answer

How to tell which backend files are associated with frontend files?

I recently started an internship at a tech company with a huge codebase and am currently trying to pull a value from the frontend (written in JS) and pass it to the backend of the app (written in Django). I can successfully access the value in the…
user3802348
  • 2,502
  • 11
  • 36
  • 49
1
vote
3 answers

Where to start to build a real codebase from scratch?

Currently, I have a more or less organized set of projects I work or worked on. Some are refactored, documented and unit-tested, others are not. When I want to reuse a code I've written before, I spend a few minutes searching for the project where…
Arseni Mourzenko
  • 50,338
  • 35
  • 112
  • 199
1
vote
1 answer

RMI server does not dynamically load missing classes from its HTTP codebase server

Context This is an application using Java RMI, with: A client on host A and a server on host B. A HTTP server on host A, it holds a copy of all classes used by the client and the server. The RMI registry is created from the server code, it shares…
mins
  • 6,478
  • 12
  • 56
  • 75
1
vote
1 answer

Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

Hi i have this codebase account and i want to clone it to in my certain folder. I already added the SSH public keys in my profile in codebase. When i tried to git clone then certain path of the project this is what it goes Cloning into…
maco
  • 27
  • 1
  • 3
  • 8
1
vote
2 answers

RMI UnmarshalException in server

I've tried to replicate the tutorial in http://www.ejbtutorial.com/java-rmi/a-step-by-step-implementation-tutorial-for-java-rmi on Eclipse (on Windows 7 x64). I simply copied the code, so, supposing it is all done correctly, it should work. I had to…
Sanci
  • 119
  • 3
  • 13