Questions tagged [github]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
2answers
32 views

invalid fullname, must end in a custom suffix ( for ex. __c )

I m getting error invalid fullname, must end in a custom suffix ( for ex. __c ) when deploying changes via Github (2 custom fields on , one on lead another on the Opportunity )to another sandbox. Also ...
0
votes
1answer
40 views

force:package:version:promote in CI script not finding package Alias: Subscriber Package Version Id not defined in sfdx-project.json

I am in the process of creating a CI script that uses GitHub actions for the creation and promotion of new package versions. For this I have created a shell script that is run after test classes have ...
3
votes
1answer
239 views

SFDX: how can I use a GitHub action script to deploy ONLY what was changed instead of ALL the metadata?

I've set up GitHub actions in my Salesforce repository on GitHub. They're working fine, except they deploy all the metadata on the repository instead of only what was changed. I'm guessing I can ...
5
votes
1answer
191 views

Github Workflow for Package Development

To better maintain my OSS repositories I am looking for a simple but elegant Github workflow that covers all steps of a DX development process that ends with a package version (unlocked/managed): ...
2
votes
3answers
102 views

Should the .sfdx or any of its sub-folder and/or files be added to the .gitignore?

I'm not sure if the .sfdx folder needs to be tracked by the version control and be pushed to the repo? Can someone please give me some more insight into this folder and its content or even a reference ...
0
votes
0answers
21 views

Application Error from heroku for NestJS App while there is no error in the log

There isn’t an error showed in the log when deploying my NestJS app to heroku but actually it doesn’t works with a messages saying « Application Error ...» and the blur thing is that, the app was ...
0
votes
1answer
29 views

Is it possible to link a namespace frome a developer org to a developer hub

We currently have an unlocked package with a namespace linked to a developer edition hub since at the time we where not aware of the limitations. Since we have the limitation to only do 5 package ...
1
vote
0answers
27 views

Heroku: not building with latest version of code

I'm evaluating Heroku for hosting my Node.js api server, and I'm running into an unexpected issue. The code in the actual pushed branch isn't executed. Whether I'm pulling code from github, or using ...
1
vote
2answers
68 views

Connecting Github actions to my salesforce

i am starting to learn CI/CD and i want to create Github actions for my salesforce project. for when I need the SFDX URL, the format is this ( after executing force:force:org:display -u ORG-ALIAS --...
1
vote
1answer
41 views

How to get Codecov to consume Apex coverage data without getting stuck "Processing..."?

I've followed this Salesforce blog Drive your Testing Strategy with Code Coverage to get LWC and Apex code coverage numbers reported in Codecov via GitHub actions. The LWC part works well, but it ...
0
votes
1answer
589 views

SFDX-Git-Delta plugin not finding differences between branches in github action

I have my yml file for my github action set up like this: name: Test Deploy Delta on: push: workflow_dispatch: jobs: build: runs-on: windows-latest steps: - name: Check out repository code ...
2
votes
0answers
36 views

Custom Git hunk header for Apex (on GitHub)?

In every Git diff there's this thing called a hunk header at the beginning of the diff section that looks like this: @@ -23,12 +23,10 @@ public with sharing class MyClass { This is nice but not very ...
0
votes
0answers
78 views

Unexpected file found in package directory:

I am trying to deploy some components from github branch to dev sandbox with VS Code I am on the branch, where I have a code, and connected to the sandbox. I tried: sfdx force:source:deploy -c -p ...
1
vote
2answers
3k views

ERROR running force:source:deploy: This command is required to run from within an SFDX project

I am trying to use GitHub actions to deploy code to my developer org. While running the workflow i am getting error like. I am unable to figure where it is wrong Below is the structure in github. ...
0
votes
1answer
22 views

Cloning .json files on python app

I have an issue of Heroku only cloning .py files but skipping .lock and .json ones. The files are necessary for my python script. Is there any reason why deploying from GitHub would cause it? Update, ...
0
votes
1answer
24 views

Github Autolink reference to Agile Accelerator work [closed]

I would like to add a an autolink reference rule to my Github repository, in order to generate direct links to Agile Accelerator works automatically. Is there any way or practical workaround, to have ...
1
vote
0answers
25 views

Best Pretter Formatting Structure for Unlocked Package structure

I am moving towards an unlocked package structure on the Org I work on. The instance was inherited and did not have any version control so seems like 2 birds with one stone. I've always used Prettier (...
1
vote
2answers
294 views

Partner Developer Org best practices - how to mirror namespace among PDOs

At this point, my team and I have read through multiple trailheads, docs and posts on the following. We have a lot of good ideas, but still a key issue remains. First, please verify this is the best ...
0
votes
1answer
61 views

How to upload to gitlab repo? [closed]

Ok, so i have been trying to get this working and its driving me nuts. All want to do is take my project in vscode and upload it to a branch in gitlab. Here is a list of things i have done : Set ...
1
vote
4answers
2k views

Does SFDX force:mdapi:deploy respect .forceignore file?

I'm trying to work in a github repository project that is not in Source format and is using Metadata API format structure. The repository has stored all component code into an src folder including ...
2
votes
0answers
63 views

How do I use an open source GitHub repo in an unlocked package?

I have recently started exploring unlocked packages. I want to use features from https://github.com/apex-enterprise-patterns/fflib-apex-common in my packages. I could clone the repo and convert it ...
0
votes
1answer
26 views

Setting up Project For Salesforce DX

I am completing Quick start Salesforce DX project- "setting up on local machine" Step while doing this when i copied the command to clone the github repository I recieve this error (SEE IMAGE). ...
2
votes
1answer
1k views

Working with GIT and org code in VS code for a single sandbox

We have our existing code repository in GitHub. This code is in folder structure resembling eclipse IDE forlder structure(or probably they call it metadata structure), like src --> classes --> myclass....
0
votes
0answers
1k views

VSCode: Does anyone else have an issue with the Source Control tab not showing changes made to Apex classes / triggers?

I'm new to Visual Studio Code, and have followed directions I found on the web for setting up a project with manifest, and then authorizing a sandbox, as well as connecting to a GitHub remote repo. ...
3
votes
2answers
503 views

Merge Branch || git diff not including .gitignore files

I have 2 branches in SFDX enabled project. mybranch and develop. I want to merge selected changes from develop and then merge those in mybranch. As a starting point I am trying to use git diff to see ...
4
votes
1answer
7k views

How do Salesforce Developers using Visual Studio Code use Github?

I have been a solo developer for quite a while and am now working with another individual. I am making the difficult switch from Mavens Mate with Eclipse to Visual Studio Code. I am not sure what the ...
1
vote
1answer
7k views

Git unable to update URL base [closed]

Trying to start learning DX. I have the project set up and downloaded a simple package from a demo org. But I get an error when I try to commit to Github. /Desktop/GloboHealth/globohealthDX$ git ...
1
vote
0answers
147 views

salesforce deployment from Git with Docker cloud

I need way to deploy code from Git to salesforce using Docker Cloud or Docker. I needed senior's suggestions and sources on deployment from Git to to salesforce especially with docker and i found way ...
0
votes
0answers
26 views

Github to salesforce deployment [duplicate]

I need to find a way to deploy code from GitHub to salesforce using Docker Cloud or Docker because my client requested it. I needed senior's suggestions on deployment from GitHub to to salesforce with ...
3
votes
2answers
151 views

One VCS repo per "artifact"?

My client's Salesforce codebase/metadata is fairly large and we're hoping to switch to SFDX. Figuring out which components go into which artifact is going to be a challenge - I expect we'll have a "...
1
vote
3answers
1k views

GitHub Conflict Resolution issue

I've been working for several days in SFDX on the "Proof-Org" branch from my git master-repo. Now I've done a pull request on the branch, but there's a file with 951 conflicts! The file is ...
2
votes
4answers
7k views

Visual Studio Code - Retrieve Org

I'm a new at a company that does not have their org backed up. I'm trying to get it into github. I'm working with VSC and I added the ForceCode extension but it fails to pull standard objects. Could ...
0
votes
1answer
744 views

I am trying to login to sfdx sample DevHub using git bash, it's giving an error on loging in

I bypassed the proxy and used this code to log in sfdx force:auth:web:login -d -a DevHub it opens the browser page, I provide the credentials and everytime it gives this error and then in the bash ...
5
votes
1answer
864 views

Salesforce with Git

We are a group of 5 developers and 5 project managers which using Salesforce. The developers are working with Sublime and MavensMate, and we want to start using a source control tool (Git) and I'm not ...
21
votes
2answers
471 views

Friction-free process to switch to SalesforceDX with existing managed package

Dreamforce '17 made it crystal clear. Salesforce DX is ready for prime time. With Second-Generating Packaging SGP even for ISVs. Salesforce DX is awesome, nonetheless we fear that getting started ...
13
votes
3answers
6k views

How to install managed package using Salesforce DX CLI?

I am trying to follow the Trailhead module on CI and Salesforce DX. I tried to push some of my Lightning components which depend on a managed package in App Exchange. I would like to know how to ...
4
votes
0answers
73 views

Populating git repository from production [closed]

We are starting to use Salesforce DX. What is the best way to populate the git repository from Flosum?
3
votes
1answer
442 views

Development Life Cycle of using GIT in salesforce. [duplicate]

I need guidance regarding the Development Life Cycle of using GIT in salesforce. How to test the latest code that I fetch from the GIT to eclipse. ?? What i'm upto this, is that, after syncing the ...
0
votes
1answer
475 views

Using Eclipse Kepler and installed EGit plugin, but not getting git option in Team

I am not getting git option in Open Perspective window. Not sure why. I am trying to get the git repository connected. I am new to git and want to learn how to do this. I have gone through the article ...
2
votes
2answers
732 views

Push process builder to gitHub

I am trying to find a way to push a process builder flow to github.com. I know how we can push code to github but anyone has idea how can I push process builder flow?
0
votes
1answer
90 views

Saving code edits to Salesforce & GitHub Gists simultaneously

I currently use a slightly crude combination GitHub Gists + GitHub Desktop + Atom to save backups of my Apex code & to keep track of my revision history. Plus MavensMate with Atom to edit my code, ...
4
votes
1answer
1k views

How to link Salesforce Mavensmate project to Github as one branch per sandbox

I use mavensmate with sublime editor for salesforce project. I was told it is a good practise to have each sandbox links to a Github branch, but wasn't told how to. when I set up each sandbox in ...
-1
votes
2answers
842 views

Don't know how to install app from github [closed]

I'm trying to install Declarative Lookup Rollup Summaries from GitHub. Can someone please tell me how to do that? https://github.com/afawcett/declarative-lookup-rollup-summaries When it's properly ...
13
votes
4answers
12k views

Deploy incremental changes using Github and Jenkins

We are using Jenkins and Github to automate deployments from dev to test to production and currently do a full deploy (the whole package) based on what is stored in GitHub. We would like to improve ...
2
votes
1answer
151 views

Getting Community Page into MavensMate & GitHub

I created a custom record detail page for a custom object in the Napili community I'm working on. I use MavensMate with Sublime Text 3 and our code is saved in GitHub. How do I pull down the ...
1
vote
0answers
849 views

ImportError: cannot import name certs when trying to import FuelSDK [closed]

I've found some mentions of it on github https://github.com/kennethreitz/requests/issues/2028 Seems to say that the issue is with updating requests, but I've tried 2.2.1 and 2.3.0 without success. ...
1
vote
1answer
30 views

Report test failures directly into github in a Salesforce/Github CI environment?

Wondering if any wizards out there possess code or a recipe that, upon a pull request, executes all tests and reports failures directly back into Github?
0
votes
1answer
76 views

How do I update an unmanaged package via Github fork?

I have installed ActionPlans v3 from AppExchange. The package is unmanaged, but it provides a lot of functionality that I need. Unfortunately, after the install, I am unable to push new changes to ...
1
vote
1answer
1k views

sample ant scripts to commit and retrieve from git hub using bit bucket

We have a need to retrieve all metadata and apex classes from a salesforce org and push to a git hub repository hosted on bitbucket using ant. I have used the ant migration tool which helps to ...
2
votes
1answer
63 views

From your experience, what are the top reasons that makes GIT hard to work with Salesforce? [closed]

I am inclined to know the most important issues of making GIT work with Salesforce.