developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
30
results
Andrew Fletcher
•
In our projects, team members frequently generate new Git branches linked to the same Jira number, resulting in cluttered and disorganised structures that can pose challenges for both current and future developers. For instance:
Jira: ABC-123
Ticket work: Reformat headers
Over time, these branches accumulate and become disorganised, resulting in names like:
ABC-123-reformat-headers
ABC-123-format-headers
ABC-123-format-header
This can lead to a cluttered and inefficient workflow. It's preferable...
Andrew Fletcher
•
git reset, git revert, and git cherry-pick are three Git commands used for...
Andrew Fletcher
•
Install the CKAN package
Begin by cleaning up your server environment....
Andrew Fletcher
•
If you're planning to create extensions, generating CKAN from source is the...
Andrew Fletcher
•
git clone git@bitbucket.org:{username}/{repo}.git
And I was unceremoniously...
Andrew Fletcher
•
CKAN extensions - adding to your installation
Following the information on the CKAN site
Use the CKAN create command to create an empty extension:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activateThen check your location is
cd /usr/lib/ckan/default/srcSo you can execute the create command
ckan -c /etc/ckan/default/ckan.ini create -t ckanext ckanext-example_theme
Error – dev-requirements.txt
However, when running this command the response...
Andrew Fletcher
•
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
•
Git filename error when running the git add command. The error I'm...
Andrew Fletcher
•
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
•
I'm in an environment where the default branch is staging and I'm attempting to run a git merge. However, in actioning this command, I'm been greeted with the following response 'not something we can merge'
❯ git merge origin/{branch}
merge: origin/{branch} - not something we can mergeTo resolve this, first I attempted to do a git checkout to the branch
But this was swiftly meet with "did not match any file(s) known to git"
git checkout {branch}
error: pathspec '{branch}' did not match...
Andrew Fletcher
•
Installing PHP on OSX and it installed PHP 8.2.x. However, for my...
Andrew Fletcher
•
How do you remove a file from git?
Use the command (rm) to remove files from...
Andrew Fletcher
•
Moving a Git repo due to a change of agencies
Steps to change the...
Andrew Fletcher
•
Reviewing CKAN extensions and listing the extensions that have been created /...