Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleHow to solve "Not having permission for the requested operation (Service not enabled) error". Eg:Username for 'https://code.rdkcentral.com': rdknewuser Password for 'https://rdknewuser@code.rdkcentral.com': fatal: remote error: Service not enabled fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests?

Issue:

In few incidents, the user may not be having the required permission to download the code although having a valid combination of username/password combination.

Example console log:

Username for 'https://code.rdkcentral.com': rdknewuser

Password for 'https://rdknewuser@code.rdkcentral.com':

fatal: remote error: Service not enabled

fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

Possible Solution:

Approach RDK support with the necessary approval to get the requested privilege.

Expand
titleWhy am I not able to push code to Github with my Github login username and password?

Github no more supports direct password login and allows only Personal Access tokens. To generate a new token,

  • Goto https://github.com -> Settings -> Developer Settings -> Personal Access Tokens
  • Click on Generate a new token. You should be able to see a access new token on your UI.
  • Please copy the new token and add it to ~/.netrc file as given below
  • machine github.com login <github-handle> password <new github access token>

Eg: machine github.com login sampleuser password ghp_73ozr1OhWvUI1htuRCVwPyWF4Va1234ABCD

Expand
titleHow to contribute code change to RDK Github repos?

GitHub Workflow Steps:

  • Create a Fork by simply clicking on the 'fork' button of the repository page on GitHub.
  • Clone your Fork, the clone command creates a local git repository from your remote fork on GitHub.
  • git clone https://github.com/USERNAME/REPOSITORY.git
  • Modify the Code in your local clone, and commit the changes to your local clone using the git commit command.
  • Push your Changes by invoking the git push command, from your workspace, to upload your changes to your remote fork on GitHub.
  • Create a Pull Request by clicking the 'pull request' button on the GitHub page of your remote fork.
Expand
titleWhen I attempt to push changes to my fork of the RDK repository on Github, I receive a 403 Forbidden error.Anything am missing?

Possible reasons and solutions:

If you are already using the Personal Access Token and getting a 403, chances are that the token has auto-expired.

You can generate a new token in Github by going to "https://github.com -> Settings -> Developer Settings -> Personal Access Tokens", Clicking on "Generate a new token" and then replacing your old token inside the ~/.netrc file with the newly generated one.