hedgedoc / hedgedoc/cli

Make `import-as` display an explicit error message when the given note id conflicts with an existing note

Open
#29 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
166
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Hello and thanks for the work thus far!

In our collective, we use the same pad for our weekly meeting. It's quite handy to have the same URL. After the meeting is over, the moderator is tasked with copying the minutes to the website and resetting the minutes template. I thought `import-as` could be used to help automate this process by uploading the template to the existing pad.

Initial note creation :+1:

```
$ codimd import newnote
Found. Redirecting to https://codi.kanthaus.online/zCaOffwOSgGQRRpnaeJM0A
```

First template import :+1:

```
$ codimd import-as zCaOffwOSgGQRRpnaeJM0A exampleTemplate.md
Found. Redirecting to https://codi.kanthaus.online/zCaOffwOSgGQRRpnaeJM0A
```
Second template import :-1:

```
$ codimd import-as zCaOffwOSgGQRRpnaeJM0A exampleTemplate.md

...

500 Internal Error wtf.


```

I get that this could be an issue with how we set our instance up (and I'll ask our 'sysadmins') but if it could be something with codimd(-cli) I thought I'd let you know.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.