Skip to content

coffebar/jetbrains-deployment-config-to-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Convert JetBrains deployment config to lua

Usage

$ python3 main.py ~/dev/idea-project

It will parse ~/dev/idea-project/.idea/ and generate ~/dev/idea-project/.nvim/deployment.lua

-- example deployment.lua
return {
  ["server1"] = {
    host = "server1",
    username = "web",
    port = 9202,
    mappings = {
      {
        ["local"] = "domains/example.com",
        ["remote"] = "/var/www/example.com",
      },
    },
    excludedPaths = {
      "src",
    },
  },
}

Example how this config can be used.

DISCLAIMER

There are no guarantees that it will work for you.

This is not a complete solution, it's just a quick hack that works for my projects, where I use only ssh connections with key based auth.

Password based auth is not supported!

About

Convert Jetbrains deployment configuration from xml to lua or json

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages