Preview Sync and Sync From Repository options not available on fresh install - crafter-cms

I have set up a fresh Crafter CMS 3.0.2 installation following the instructions here. When I login as admin user I don't get Preview Sync and Sync From Repository options in the Site Config section as show in the page here. How can I add those options for the admin user? I could not find the instructions for the same in the documentation

Sync'ing is now automatic starting version 3.0.2, see the release notes: http://docs.craftercms.org/en/3.0/release-notes/index.html
You can make updates to the underlying git repo, and the system will automatically pick those up.

Related

Gitlab pull mirror option is disabled for Gitlab EE 12.8.5-ee Ultimate

I am trying to use gitlab mirror repository functionality of gitlab but under Mirror direction, it only shows push option to me, dropdown menu is greyed out. I can not select pull option.
Gitlab version : Gitlab EE 12.8.5-ee Ultimate.
My user account is maintainer.
Am I missing something?
Thanks in advance.
After searching a bit on this got the answer why the pull option was disabled:
Answer :
It appears that the ability to disable mirrors was introduced in GitLab 10.3
So after upgrading gitlab, Admin has to specifically Enable mirror configuration
Enable single checkbox in Admin -> Application Settings -> Repository:
If this checkbox is unchecked, even project owners can't administer mirrors, though the text only says push mirrors.
Reference : https://gitlab.com/gitlab-org/gitlab/issues/13769
From Repository Mirroring
check if the repo was not already configured for pushing (and can no longer be modified for pulling)
some prerequisite might prevent any pulling option.

Why Register GIT Repository disabled in Botium-Box community edition?

In my Botium-Box community login I am not able to add my Git repository test cases.Is that any configuration need to be enabled or It is not available in Botium-Box community ?
Test Case Versioning is a Botium Box Professional/Enterprise feature - see here for details.
EDIT: You can use a shared folder to hold your test cases, and you can then in turn add this shared folder to git.

How to disable the creation of new GitLab repositories on push?

In 10.5, GitLab added support to create projects (repositories) by pushing into a namespace (a.h.a group). I would like to disable that feature for my whole instance, but I can't find where to do it. There also no documentation about a disable switch.
How to disable the creation of new repositories on push?
Background:
I moved a repository to another namespace, but a cloned version on some random PC is sometimes pushing to the old repository URL. Because it was moved, the developer gets no error message or warning, but he create a new repository on the server.
I found the developer and his PC and we changed the repository URL, but I still would like ti disable this feature for the future.
Linked Issues:
Add group setting to allow or disallow "Push to create project"
How to Disable Push Create for Everyone But the Admin API

How do I access the Git included in microclimate?

I want to use microclimate installed on ICP with my local IDE and not the web IDE provided. How do I and my team access the GitLab to work on the code generated by microclimate? How do I commit my changes using my local IDE?
You can find information on how to integrate with your existing IDEs using the following url:
https://microclimate-dev2ops.github.io/howToIDE
Additionally, you can also import your project from GitLab and/or GitHub using the Import Project option and referencing the git repo location. To enable bi-directional code change between Microclimate and GIT, you need to run MicroClimate on ICP and enable the Pipeline.
Hope this helps!
Microclimate does not provide GitLab, but it will work with GitLab. https://docs.gitlab.com/ee/install/kubernetes/gitlab_chart.html provides instructions for installing GitLab onto Kubernetes. Once set up you should be able to interact with GitLab from your local IDE in the same way as you would with any other git server.

What is the best solution for strictly local version control?

I am using Visual Studio 2012 on my home PC and I have been looking for a way to implement version control locally. I use Team Foundation Server at work, and have never used anything else. I am not trying to connect to my work server, I just want version control for my home projects.
I tried Git Tools for Visual Studio, which works ok - but it doesn't support reverting to a previous commit. Every time I've needed to revert, I've had to go to the Git repository website, download that commit, and replace the files on my machine.
Is there anything out there that supports similar version control to TFS?
Git is a good option because it keeps a complete copy of the repository version history locally-- you never need to push changes to an external server. You can read about setting up a local repository here.
Once you have a repository set up and some changes committed, you can use git reset --hard <commit> to reset to that commit. See documentation here. Note that this will wipe out any pending AND committed changes on top of the referenced commit.

Resources