Netlify-cms: Support for AWS CodeCommit

Created on 8 Feb 2019  ·  20Comments  ·  Source: netlify/netlify-cms

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
I am wondering if it support for AWS CodeCommit has been considered. Based on their API docs, how hard might it be to add it?

Describe alternatives you've considered
None

Additional context
I love this project!

extensionbackends feature

Most helpful comment

All 20 comments

This is a good question. It would definitely be feasible. How hard is relative to knowledge of the API and writing a custom backend for the CMS.

I can hardly imagine a service that one could not create a backend for, the question is how robust that backend can be. CodeCommit doesn't really provide a Git API, so you can't work directly with blobs and trees, or even make commits (only directory via PutFile.

Almost certainly possible to do, just need to work through the caveats.

Git API, so you can't work directly with blobs and trees, or even make commits (only directory via PutFile.

What other commits would be missing?

For example, we want to do multiple files per commit for batching content in the workflow, but we can't with this API, as we don't control commits. You create or update a single file at a time and their platform generates the commit.

That makes sense. CodeCommit is pretty lackluster overall, and the limited API is a bummer. It's really cool that Netlify CMS can use such APIs right from the frontend. Has there been discussion around having an optional backend app that that would work on a local version of the repo and then push those changes to cloud git instances? A more complex setup, but maybe it would simplify the interfaces with cloud providers?

@jpray I am in the works on something that uses that strategy. Eventually, I hope to release more info if I can get it off the ground.

I really like what you all have done with this CMS. For now I'm using Github, but if the powers that be demand I bring things inside AWS, then perhaps I'll be able to spend time working on a CodeCommit integration (if the backend approach isn't available yet). Might be slower and generate an uglier git history, but it's good to hear that it should be possible. Cheers!

Comment so this keeps open, I in particular will like this, given my sites are huge.

Some context any medium size blog will have a couple hundred entries each one will contain images,
so my sites are like 5G in size, on images that need to be converted to generate responsive representations, I need AWS power for doing that, is supper slow to use open CI platforms for this.

Curious, what static site generator(s) are you using, if any? Also note that this issue is only about AWS Code commit support. You can keep your code in GitHub and still have the same access to AWS services for generating and deploying your site.

Sent with GitHawk

Gatsbty, of course someone will say just pay some cloud service for the images, but I will lose so many features from gatsby and will need to do stuff manually to pull all variations of the images

Gotcha. If possible, you can use GitHub with AWS. Hopefully we'll get a CodeCommit backend at some point.

Sent with GitHawk

Just checking in on this. I'm developing a site that is hosted inside Amazon's GovCloud and would love to use NetlifyCMS with CodeCommit. Being that it is government we're restricted as to what we can use, and GitHub and BitBucket aren't on that list, go figure :)

Would love to see this. I'm hoping to see us consolidate a lot of general backend logic to a shared library, which _should_ make individual backends a lot more straightforward to create, but hard to say for sure.

+1

+1

Please do not post “+1” comments, they cause everyone subscribed to this issue to be notified unnecessarily.

You can signal your request for this to be prioritized by “thumbing up” the initial post up top.

Sent with GitHawk

Is there any news regarding this topic ? still open, no assignee(s) and no comment since last year 🥴

Hi @kevbarns, this is open for community contribution.
See work in progress for https://github.com/netlify/netlify-cms/pull/4384 and https://github.com/netlify/netlify-cms/pull/4427

@kevbarns I would be happy to help you with this, if possible

Was this page helpful?
0 / 5 - 0 ratings