Github automatic sync [closed] - github

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to set up a web server on a VPS server and I decided Github would be a good way to version and have access from different locations.
Is there a way to have a git command line client auto sync, so when I make a commit in the repository, it will update on the server (preferably instantly)?
Edit: I am trying to get a remote server to automatically pull the changes of a GitHub repository when it is updated.

so when I make a commit in the repository, it will update on the server
It is call webhook, which act as a post-update hook on GitHub side, and generates a JSON payload that your server can listen to.
The page "Delivering deployments" illustrates several deployment techniques:
The Deployments API provides your projects hosted on GitHub with the capability to launch them on a server that you own.
Combined with the Status API, you’ll be able to coordinate your deployments the moment your code lands on master.

Related

Error while installing packages using yarn or npm, `Request failed \"401 Unauthorized` [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
error An unexpected error occurred: "https://npm.pkg.github.com/download/[PACKAGE]: Request failed "401 Unauthorized"".
After doing a bit of research, I found that you have to enable/check the option of read:packages in your Github personal access token .
Because some Packages require a read packages enabled.
Like: Github Personal Access Token
If you have not already setup a Github Personal Access Token, I would recommend you to follow this simple guide: https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
Post that, you can either
create a .npmrc file at the root level of your project and export your personal access token (or)
run npm login with your user and token

Backup/Restore AzureDevOps [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
we're using the AzureDevOps Environment from https://dev.azure.com/xxx.
Is the a way to a granualar recovery of deleted elements from boards, repos etc. besides of the recovery of whole projects?
Short answer is "it depends". Some things (such as work items) have a "recycle bin" where you can recover them after deletion. Other things (such as board configuration changes) don't.
Source control is, of course, always recoverable as long as the repo still exists -- you can revert changes.
According to our official documentation the data is replicated using Azure services such as blob and SQL storage.
However, if you want to have a copy in your own server or local computer, there's no out of the box backup ability.
You could manually save the project data through below ways:
Source code and custom build templates: You can download your files as a zip file. Open the Repository actions actions icon for the
repository, file, or folder and choose Download as Zip. You can also
choose the Download icon at the right side of the screen to download
either all of the files in the currently selected folder, or the
currently selected file.
This process doesn't save any change history or links to other artifacts.
If you use Git, clone your repositories to retain the full project history and all the branches.
Build data: To save logs and data in your drop build folders, see View build results.
Work item tracking data: Create a work item query and open it using Excel. Save the Excel spreadsheet.
And for restore, except restore a project, you could also restore a soft-deleted git repo and work items.
Repositories - Restore Repository From Recycle Bin
Recover a soft-deleted Git repository. Recently deleted repositories go into a soft-delete state for a period of time before they are hard deleted and become unrecoverable.
Recovery work items
There has been a related user voice, you could monitor and vote up it
Provide a backup service for Azure DevOps
https://developercommunity.visualstudio.com/content/idea/365441/provide-a-backup-service-for-visual-studio-team-se.html

Is there a cloud IDE with Assembla/GitHub integration? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
With the new Chromebook launch I have been wondering, is there a cloud IDE that could be used from Chrome and that has an Assembla and/or GitHub integration for hosting the projects?
I'm thinking about Rails development.
Cloud9 (not exactly free, past one private workspace) has GitHub and BitBucket integration, and is all about collaboration.
And it does supports the ability to run a Rails app.
Sure it is possible to integrate with assembla. There are a couple steps to do that:
Have an assembla account(paid or free) and space with a git repository.Unfortunatelly Could9 does not support svn repositories. So on assembla side you;ll have something
like: https://www.assembla.com/code/<your-space>/git/nodes. If it is
private repository your git url will be
git#git.assembla.com:<your-space>.git or if it is a public
repository you will have git://git.assembla.com/<your-space>.git
Have a Cloud9 account
Go to you could9 dashboard
Look for "Show your SSH key" under "Account settings" pannel on the right
Copy the ssh key and add it to your account on assembla at: https://www.assembla.com/user/edit/edit_git_settings
Now create your Cloud9 workspace with "Clone from url" using assembla git url from step 2.
You're done.
Do the rest of the ordinary stuff you usually do, clone, commit, push, etc.
Nitrous has first-class github integration built in. It's very easy to add your Nitrous ssh keys to Github and work seamlessly.
https://community.nitrous.io/docs/connect-to-github
There is also a default Ruby on Rails starter template with a sample project included. Signup is 100% free for the first project:
https://pro.nitrous.io/stacks/ruby-on-rails/
Koding has an application for simple GitHub usage, and a browser Terminal with full system root access, so you can use it for Assembla/Github/anything. Basically if you can do it on a Ubuntu machine, you can do it on Koding, so your Assembla/Github issue is easy :)

Can github provide access control like gitolite? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
some branches can be modified by a special team and can not be changed by other teams. We need the access control features like gitolite provides. I want to know whether github can provide or not.
If we use Github Enterprise, we can write hooks to limit branches access. We can also use github features(such as 'code review') . Is it true ?
Note: gitolite is a simple (and complete) authorization layer, so you can add it to any Git repository server that you want, including GitHub Enterprise.
That is exactly what the open-source version of "GitHub Enterprise" does: GitLabHq includes gitolite.
It supports Gitolite V3 since GitLab 3.0 (released 4 days ago).
That being said, an open-source version will lack the code review feature, which is included in GitHub Enterprise. I suppose the alternative is to link a GitLab with a Gerrit server.

What's the difference between Github and Nuget? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
What's the difference between Github and Nuget? I don't quite understand either of them.
GitHub is a web-based hosting service for software development projects that use the Git revision control system. GitHub offers both commercial plans and free accounts for open source projects. According to the Git User's Survey in 2009, GitHub is the most popular Git hosting site.
NuGet is a Visual Studio extension that makes it easy to install and update third-party libraries and tools in Visual Studio.