Currently, ADFv2 allows you to set up Code Repository and automatically synchronise JSON files of components of pipelines, datasets, etc with repo (e.g.GIT).
But, once you set it up - how to actually remove it or change configuration (not branch)?
In overview tab, there is a repository settings button, click it, you will see the remove repository button.
Related
How to take the project from one repo (where I've been given developer rights by some other person who is the master) to my own created repo (where I'm the master). I'm able to use both CMD and webstorm IDE for accessing GIT.
The action you want to perform is called 'fork' in the context of source code management (e.g git). Quoting https://docs.gitlab.com/ee/gitlab-basics/fork-project.html:
A fork is a copy of an original repository that you put in another namespace where you can experiment and apply changes that you can later decide whether or not to share, without affecting the original project.
To fork a project in GitLab, you just have to click on the 'fork' button on the project's main page.
You can read detailed steps on https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html#creating-a-fork
I have accidentally deleted a Wiki-page from our repository in Azure DevOps.
(How) can I recover it?
That is not an option for us, since we will loose many changes that
were made after the last version no. up until the date I accidentally
deleted the wiki page.
You can choose Clone wiki to download the wiki repo to local machine.
Then use git commands(git revert or what) locally to get the deleted page, once you find the deleted page, publish it and add it back to Wiki page as a new commit.
I was just able to do this without too much fanfare. The resource that was helpful was this VS community topic. There is an answer that provides a solution that doesn't require you to clone the repo.
The key insight is that you can navigate to the Azure DevOps repo UI for the Git repo that's backing the wiki. The solution author says that the shape of the URL is something like https://dev.azure.com/<organization-name>/<project-name>/_git/<wiki-name>.wiki. This didn't quite work for me because we have a different URL scheme in our organization, but I was able to figure it out after a little trial and error. I later saw that you can get the URL by using the Clone Repo UI in the wiki - it gives you the URL, so you can just copy it and navigate to it.
Anyway, the steps were:
Figure out the URL of the git repo that backs the wiki
Navigate to the revision history for the entire wiki
the current UI shows you the Contents tab by default - switch to History
Scroll until you find the commits that deleted the pages you want to restore
it's one of those list views that populate themselves as you scroll, so you won't be able to use the browser page search efficiently, unfortunately
Revert the commits
In my case, this required clicking on them and creating pull requests to revert, but I was able to merge them myself without involving code reviewers. YMMV
All in all, not a wholly terrible experience, but completely undiscoverable.
Assuming you're managing a provisioned wiki (vs using published code as a wiki):
Look in the top-right corner for the vertical 3-dot menu, where there's an option to view revisions:
Choose the revision you want to revert to (e.g. the one prior to deleting the needed wiki page), from the list (click on its version hash):
From the revision details, select "Revert":
At this point, your wiki should be at its prior state, and your wiki page should once again be available.
Note: If you're using published code as a wiki, you would recover/revert your changes as you would with any other code commit.
More details may be found here.
I couldn't find a way to do this through the Azure DevOps web interface but you can restore the page by reverting the commit that deleted it if you clone the wiki locally.
Clone the wiki to your computer - find the clone wiki option in the menu at the top of the left bar which shows the wiki contents, copy the URL and use to clone locally using your usual git client.
Find the commit that deleted the page, the commit message will start with "Deleted page" then the name of the page you deleted.
Restore the page and commit the change. There are various ways to do this - I reverted the commit, you could checkout the commit and copy the page out to make a new commit. You may get a merge conflict on '.order', I'm not sure what the best thing to do is but I kept the current version and haven't had any problems.
Push the changes to Azure DevOps, refresh and you'll see the page has been restored.
This works even for Project Wikis. I wonder if Azure DevOps has added the functionality that enabled this since some of the other answers have been written.
I have a business use-case from a startup to maintain all code repositories on GitLab.com SaaS. And all other services like Wiki, Issue Tracking, CI/CD on a Self-managed/Hosted GitLab.
I could not find any references or examples of such scenario. Is this kind of integration possible. Any references or links would be helpful.
This is absolutely possible, but there are a number of steps you have to take to get it set up.
As an admin on your self-hosted Gitlab installation, go into the Admin area, then Settings, then General, and expand Visibility and Access Controls. Then under Import Sources select all the sources you want to allow your users to import projects from. For this use case, make sure you select at least Gitlab.com.
Next you have to integrate your self-hosted Gitlab instance with Gitlab.com by following the instructions here.
Once all of this is done, go to the Projects page in your self-hosted Gitlab, and hit the green New Project button. You should see three tabs across the top of the New Project page, with the one on the right called Import Project. Click that tab, hit the button for Gitlab.com, and follow the instructions on the page.
Once all that is done, your developers can do all the source control activites on gitlab.com, and all changes will be synced to your self-hosted gitlab for issues, wiki's, and CI/CD.
I have a public gitlab project here
https://gitlab.com/parmentelat/minisim2
I tried to add a corresponding project in readthedocs.io, so that a new commit being pushed onto gitlab triggers a doc rebuild on readthedocs
I do this routinely with projects hosted at github and it's really easy - at least under my setup - since readthedocs shows me an updated list of github repos right away, and everything goes smoothly after that.
When trying to import this gitlab project under readthedocs though, I have to chose 'Import manually' as my gitlab projects would not show up.
(In the 'connected services' of my readthedocs settings page, I could find a way to connect to github and to bitbucket; gitlab does not seem supported)
Fair enough, I try this manual import, but at that point no matter how I try to spell the project's URL and what method (git or https) I try to use for importing the project, I get this error message
This repository doesn't have a valid webhook set up. That means it won't be rebuilt on commits to the repository.
You can resync your webhook to fix this.
is what I am trying to do doable at all ?
do I need to do something specific on the gitlab side
thanks for any hint
You can manually set the webhook on gitlab.com:
Click the settings icon for your project
Select "Integrations"
Enter the above URL, select "Push events" and "Enable SSL verification"
Click "Add Webhook"
That should do it.
Hi just a quick question here
I got an account on www.assembla.com which is svn repository hosting website.
I managed to checkout/commit to remote repository.
Now I am trying to import my existing local svn rep, to remote server.
I cant use "svnadmin load" since it expecting to find local target not URL.
I tried svn+ssh but it failed to connect.
Among other things I am behind proxy.
my repository is here: https://subversion.assembla.com/svn/xxx/
Do you know how I can import my old repository?
Thanks!
I believe you can only import into a new SVN repository.
Click the Admin tab.
Click Tools.
For Repositories > Source/SVN, click the Add button.
Click the new Source/SVN tab that appears at the top. If you already have an existing SVN repository, the new tab's name would be appended with "2" or the next available number (e.g., "Source/SVN2").
Click Import/Export.
The Import screen (as shown below) is self-explanatory. Hope it works for you
How can I import or export a subversion repository?
How can I import or export a
subversion repository? Trac tickets?
You can find forms for importing and
exporting svn repositories in Trac.
Go to your Trac and log in as a space
owner. You will see an Admin tab on
the top right. Select Admin, and
select “Data Import/Export” from the
left menu. There is a link to export
the svn repository, and a form to
upload a zipped Subversion repository
dump. There are also forms for
uploading and exporting trac
directories. We currently use trac
0.10.4.