Git Integration plugin absent from Datagrip? - jetbrains-ide

There is something I don't understand... I can't find the "Git integration" plugin anywhere in DataGrip 2016.3.3 (JetBrains IDE). PyCharm is installed on the same machine and it has the Git Integration plugin. I also have DataGrip installed on another machine with the plugin.
But on this machine right now, no Git Integration... It's not even in the plugins repositories.
I tried uninstalling, re-installing, updating but no luck.
Here is a extract from the idea.log
2017-02-22 07:49:09,886 [ 6403] INFO - tartup.impl.StartupManagerImpl - P:/CARTO/Outils_carto/git/zppnmo/.idea case-sensitivity: expected=false actual=false
2017-02-22 07:49:09,886 [ 6403] WARN - api.vfs.impl.local.FileWatcher - Project files cannot be watched (are they under network mount?)
2017-02-22 07:49:09,886 [ 6403] INFO - pl.projectlevelman.NewMappings - Error: activating non existing vcs: Git
2017-02-22 07:49:09,886 [ 6403] INFO - tartup.impl.StartupManagerImpl - unwatched roots: [P:/CARTO/Outils_carto/git/zppnmo]
And a screenshot of the plugin menu
What am I missing??

Settings → Plugins → Browse repositories → search for the plugin you need.

Starting from DataGrip 2020.2 GitHub and Git plugins are bundled.

Related

flutter create . is failing with "You must specify a --flavor option"

I have an existing app I'm developing on mac and need to build a web version. As part of the flow for updating my app for the web, I type flutter create . from the project directory. When I do I get the error
The Xcode project defines schemes: dev, preprod, prod
You must specify a --flavor option to select one of the available schemes.
but flutter create does not have a --flavor option, so I'm stuck. :/
EDIT:
I ran flutter create . -v and got the output below
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Information about project "Runner":
Targets:
Runner
Build Configurations:
Debug-prod
Debug-preprod
Debug-dev
Release-prod
Release-preprod
Release-dev
Profile-prod
Profile-preprod
Profile-dev
If no build configuration is specified and -scheme is not passed then "Release-prod" is used.
Schemes:
dev
preprod
prod
[ +9 ms] The Xcode project defines schemes: dev, preprod, prod
[ +15 ms] "flutter create" took 1,798ms.
[ +5 ms] You must specify a --flavor option to select one of the available schemes.
So, I duplicated one of my schemes and named it Release-prod and ran the command again. I got the same error, but with Release-prod now listed. I then went into Xcode and disable all but one scheme, but am getting the same error with all three schemes listed. Is there somewhere else I can disable them? I'd rather not delete them.
flutter create --platforms=windows,macos,linux (flavor name)

Using AWS CodeBuild with SVN Repository Timeout/Stalling Issue

I have an AWS codebuild project and a an svn repository which contains the java code I need to build. For my codebuild configuration, I chose No Source Type and am using a windows container. During the Install event I am downloading a tortoisesvn msi and installing tortoisesvn on my container. I then make a svn checkout call to my svn. It is a pretty large repo that I am checking out and at first, it continued to timeout on me with error svn: E175012: Connection timed out. I solved this by adding the option servers:global:http-timeout=2400 to lengthen the time for an svn checkout before the server times it out. However, now the checkout just stalls at a certain point in the checkout command output after some arbitrary amount of time. Eventually the timeout on the codebuild project times the project out. I have set svn timeout to 40 min as shown above and codebuild timeout to 1.5 hours but have had no luck in completing the checkout and building the code. Unfortunately, codebuild does not provide much visibility into the windows container used to build my code so I am unsure what to try next. Any advice would be appreciated. Below is the relevant portion of my buildspec.
TORTOISE_URL: 'https://mirrors.tuna.tsinghua.edu.cn/osdn/storage/g/t/to/tortoisesvn/1.13.1/Application/TortoiseSVN-1.13.1.28686-x64-svn-1.13.0.msi'
TORTOISE_INSTALL: 'C:\TortoiseSVN-1.13.1.28686-x64-svn-1.13.0.msi'
install:
commands:
- '[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest $env:TORTOISE_URL -OutFile $env:TORTOISE_INSTALL'
- msiexec.exe /i $env:TORTOISE_INSTALL /passive /norestart ADDLOCAL=ALL
- $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
- '& $env:TORTOISE_HOME/bin/svn checkout --username $env:SVN_USERNAME --password $env:SVN_PASSWORD $env:SVN_REPO/$env:SVN_TAG --config-option servers:global:http-timeout=2400'

Can default repository of artifact configured as Nexus in docker?

Our project enabled Cloud SDK Pipeline. Upon a pull request, the pr job from Pipeline was triggered, and it tried to build with artifacts downloaded from: https://repo.maven.apache.org/maven2. However some dependencies of the project are not available in that repo. We would expect to connect to Nexus repo by default, as all dependencies are available there. Is it possible to configure docker in that way?
12:46:45 [ERROR] Non-resolvable import POM: Could not find artifact
com.sap.sgs:security-patched-spring-boot-dependencies:pom:2.1.7.RELEASE-sap-06
in central (https://repo.maven.apache.org/maven2) # line 28, column 22
12:46:45 [ERROR] 'dependencies.dependency.version' for
org.springframework.boot:spring-boot-starter-test:jar is missing. #
line 183, column 19
12:46:45 [ERROR] 'dependencies.dependency.version' for
org.springframework.boot:spring-boot-starter-actuator:jar is missing.
# line 187, column 19
12:46:45 [ERROR] 'dependencies.dependency.version' for
org.springframework.boot:spring-boot-starter-aop:jar is missing. #
line 191, column 19
You can configure this in own settings file as described in the maven documentation
And then configure the settings file in the pipeline config as described in the pipeline guide.
Example Settings file
<settings>
<mirrors>
<mirror>
<id>internal-repository</id>
<name>Maven Repository Manager running on repo.mycompany.com</name>
<url>http://repo.mycompany.com/proxy</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
</settings>
Sample pipeline config
mavenExecute:
dockerImage: maven:3.6.1-jdk-8-alpine
projectSettingsFile: "settings.xml"
The Cx Server comes with a read-only download cache to boost build performance and reduce redundant downloads of dependencies. It is active by default and transparently injected into maven and npm builds. By default it uses maven central and the official npm registry for looking up and downloading dependencies.
To set up a custom maven or npm repository, e.g., a corporate nexus that also holds internal artifacts, you can use the attributes mvn_repository_url and npm_repository_url in server.cfg (make sure to stop, remove, and start the Cx Server after making the configuration change).
More information can be found in the Cx Server operations guide: https://github.com/SAP/devops-docker-cx-server/blob/master/docs/operations/cx-server-operations-guide.md#configuring-the-cx-server

Running platform local:build in Ubuntu, receive error

Running platform local:build in Ubuntu, receive error below.
I've installed Ubuntu on Windows 10 Pro 64-bit via the Linux Sub-system for Windows. Then, I installed LAMP, Composer, and the Platform.sh CLI.
Now, I've performed a get on my project to check it out locally, and am performing a build on it locally. But this is what happens:
$ platform local:build
Building application m2 (runtime type: php:7.0)
Found a composer.json file; installing dependencies
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/framework 101.0.1 requires ext-gd * -> the requested PHP extension gd is missing from your system.
- magento/framework 101.0.1 requires ext-gd * -> the requested PHP extension gd is missing from your system.
- Installation request for magento/framework 101.0.1 -> satisfiable by magento/framework[101.0.1].
To enable extensions, verify that they are enabled in your .ini files:
-
- /etc/php/7.0/cli/conf.d/10-opcache.ini
- /etc/php/7.0/cli/conf.d/10-pdo.ini
- /etc/php/7.0/cli/conf.d/15-xml.ini
- /etc/php/7.0/cli/conf.d/20-calendar.ini
- /etc/php/7.0/cli/conf.d/20-ctype.ini
- /etc/php/7.0/cli/conf.d/20-curl.ini
- /etc/php/7.0/cli/conf.d/20-dom.ini
- /etc/php/7.0/cli/conf.d/20-exif.ini
- /etc/php/7.0/cli/conf.d/20-fileinfo.ini
- /etc/php/7.0/cli/conf.d/20-ftp.ini
- /etc/php/7.0/cli/conf.d/20-gettext.ini
- /etc/php/7.0/cli/conf.d/20-iconv.ini
- /etc/php/7.0/cli/conf.d/20-json.ini
- /etc/php/7.0/cli/conf.d/20-phar.ini
- /etc/php/7.0/cli/conf.d/20-posix.ini
- /etc/php/7.0/cli/conf.d/20-readline.ini
- /etc/php/7.0/cli/conf.d/20-shmop.ini
- /etc/php/7.0/cli/conf.d/20-simplexml.ini
- /etc/php/7.0/cli/conf.d/20-sockets.ini
- /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.0/cli/conf.d/20-sysvsem.ini
- /etc/php/7.0/cli/conf.d/20-sysvshm.ini
- /etc/php/7.0/cli/conf.d/20-tokenizer.ini
- /etc/php/7.0/cli/conf.d/20-wddx.ini
- /etc/php/7.0/cli/conf.d/20-xmlreader.ini
- /etc/php/7.0/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.0/cli/conf.d/20-xsl.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
[ProcessFailedException]
The command failed with the exit code: 2
Full command: '/usr/local/bin/composer' 'install' '--no-progress' '--prefer-dist' '--optimize-autoloader' '--no-interaction' '--no-ansi'
Looks like the PHP-GD library was not installed or enabled on your local Ubuntu. Try installing it by:
sudo apt-get install php7.0-gd

TFS Workspace and Workfold conflicting on Linux with hosted TFS (VisualStudio.com)

I'm trying to figure out how to connect to TFS and get code stored on the hosted TFS (ie - visualstudio.com) down to my linux web server.
I have installed the TFS command-line client (tf.exe)
i run the following command:
$ tf workspace -new "My - Workspace" -collection:https://me.visualstudio.com/DefaultCollection -login:user,pass
then, i list the workspaces:
$ tf workspaces
Collection: https://gotmike.visualstudio.com/DefaultCollection/
Workspace Owner Computer Comment
-------------------- ----------- ------------------ -------------
My - Workspace My Name ip-xxx-xxx-xxx-xxx
all seems good...
then, i try to run workfold...
$ tf workfold -map -login:user,pass -server:http://me.visualstudio.com -workspace:"My - Workspace" '$/My - Workspace/My - Workspace' '/home/me/test'
An argument error occurred: The workspace 'My - Workspace' could not be found.
how can it not be found if it's showing up in the list? what am i doing wrong?
The /server flag is deprecated and should not be used against recent servers (those that have "project collections", like Visual Studio Online.) Instead use the /collection flag, like you did in the first example. The workspace should then be able to be found in the specified project collection.
For example:
tf workfold -map -login:user,pass -collection:https://me.visualstudio.com/DefaultCollection -workspace:"My - Workspace" '$/My - Workspace/My - Workspace' '/home/me/test'

Resources