Snippets (OD-996)
Jerome St-Louis opened 3 years ago

Snippets (or Gists as GitHub calls them) associated with projects are a key feature that is missing from OneDev that would be extremely useful. It could be as simple as a one time pastebin (ideally with syntax highlighting), or ideally would support versioning with git.

Thank you!

  • Andrew Lalis commented 3 years ago

    As far as I know in GitHub, gists are in a completely separate domain. You mention "associated with projects", and that's probably the easiest way to do things with the OneDev architecture, since that's how pretty much all user-generated content is managed.

    I suppose it could be added alongside the issues and code capabilities that are already toggle-able for projects?

    Either way, I would also appreciate having a feature like this, possibly with the ability to mark certain snippets to allow anonymous access.

  • Jerome St-Louis commented 3 years ago

    Thanks for the feedback @andrewlalis . You're right gists in GitHub are in a separate domain, but GitLab snippets are associated with a particular project as you are suggesting. Agreed it makes sense to mark certain ones to allow anonymous access.

  • OneDev referenced from other issue 3 years ago
  • Cody Robinson commented 1 year ago

    Hi @andrewlalis @jerstlouis

    I have come up with a feature plan below. Let me know if you would like anything else added to this feature request:

    •  Boolean toggle of "Snippets" on a per-project basis
    •  Add permissions to allow snippet read/write access
    •  Allow snippets to be anonymously read
    •  Snippets will use the same syntax highlighter currently in OneDev
  • Robin Shen batch edited 1 year ago
    Name Previous Value Current Value
    Labels
    empty
    Backlog
issue 1/1
Type
New Feature
Priority
Normal
Assignee
Watchers (6)
Reference
OD-996
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover