Github integration with Neo4j Desktop

Hello Community,
I don't know about you, but I find it very annoying to have to synch my Cypher scripts manually. Is there any way to sync your favorite scripts with GitHub?

3 Likes

Hi Martin!

There are a few related features that we're looking at in this area:

  1. Mounting file system folders as projects, which would let you add a GitHub repository as a Desktop Project
  2. Save Browser queries as files (today they're just kept in localStorage)

There are some open questions:

A. Save queries individually, or as a collection?
B. Maintain the shallow folders, or allow nested searching for *.cypher within a project?

Thoughts?

-ABK

1 Like

What do you mean with question A. save queries individually or as a collection?

I like that there's development addressing functionality around saving queries and allowing for source control to be utilized.

For a) there has been some discussion about having a single file which contains many separate cypher scripts. Except when used for data loading, individual cypher scripts tend to be short. So the thinking was that we could just have one file which lists many small scripts. That already exists in the form of a multi-statement script, where each query is separated by a ;.

I prefer individual files. But the discussion has come up so I was looking for more perspectives.

Cheers,
ABK

Oh definitely individual files per cypher script. One large file that is delimited would be mess, especially when it comes to version control or if a colleague wanted just one script and you wanted to share with them, they're not going to want your whole collection.

1 Like

Hi all, any progress with this? I'm struggling to find a productive setup across multiple dev machines. Browser Sync is slowing down my entire browser.

This has been incrementally arriving in Desktop and Browser. The most recent release of Neo4j Desktop 1.3.10 supports files within projects, available through an API for any app. Neo4j Browser 4.2.0 is the first app to take advantage of this, with a new ability to load/save directly to the filesystem.

Check it out and let us know what you think.

-ABK

1 Like