Package Details: turtl-server-git r211.babccca-3

Git Clone URL: https://aur.archlinux.org/turtl-server-git.git (read-only, click to copy)
Package Base: turtl-server-git
Description: The secure, collaborative notebook's server
Upstream URL: https://turtlapp.com/
Keywords: collaboration collaborative electron javascript note notebook notes rust secure server turtl
Licenses: AGPL
Conflicts: turtl-server
Provides: turtl-server
Submitter: owentrigueros
Maintainer: owentrigueros
Last Packager: owentrigueros
Votes: 1
Popularity: 0.000000
First Submitted: 2019-05-14 20:53 (UTC)
Last Updated: 2019-07-05 11:10 (UTC)

Latest Comments

neoninteger commented on 2019-06-14 14:15 (UTC) (edited on 2019-06-14 14:18 (UTC) by neoninteger)

Hi, I've found one more thing that you may wish to consider:

sed "s/\/var\/www\/turtl\/server/usr\/share\/webapps\/turtl/g" results in the creation of the string usr/share/webapps/turtl, which works fine when turtl-server is launched using systemd, but causes errors when the server is launched from anywhere except /, as the server is trying to search for plugins in a usr folder in the current directory.

If the command was changed to:

sed "s/\/var\/www\/turtl\/server/\/usr\/share\/webapps\/turtl/g" with an extra breaking \/, it will result in the correct string /usr/share/webapps/turtl which allows the server to be successfully launched from any directory (like my turtl-core-rs buildscript does).

(EDIT: Fix Markdown formatting errors) (EDIT 2: REALLY fix Markdown formatting errors)

owentrigueros commented on 2019-06-13 07:25 (UTC)

Hi @neoninteger, it's not confusing at all. Done!

neoninteger commented on 2019-06-13 01:22 (UTC)

Hi Owen, thank you for incorporating my feedback (I don't have much more experience with AUR packages than you do, I'm really just going off of what I've seen elsewhere :D)

One thing that I should have been more clear about is with the provide and conflict variables - I believe both need to be specified.

The conflicts variable is a list of packages that cannot be installed at the same time as this one, so a hypothetical turtl-server package could not be installed at the same time as turtl-server-git.

The provides variable allows pacman to accept alternate packages when they are listed as dependencies. So if I listed turtl-server as a dependency of my project, makepkg and pacman would proceed with installation if either turtl-server, turtl-server-git or any other package with provides=('turtl-server') was installed prior.

Sorry for the confusion!

owentrigueros commented on 2019-06-11 14:10 (UTC)

@neoninteger It's done, I've also added the keywords of turtl (plus 'server')

owentrigueros commented on 2019-06-11 09:23 (UTC)

Hi @neoninteger, thank you for your comment! This is my first AUR package and I really appreciate the feedback.

I'll fix those erros ASAP. Tell me if you have any other suggestions :)

neoninteger commented on 2019-06-10 11:22 (UTC)

Hi Owen, thank you for providing this package, I have been able to successfully use it to run the test suite for Turtl's core-rs module.

There are a few things that I noticed while using this package that may be worth considering:

  • The scripts/ directory is installed with permissions 644 - this should be 755 or some other form that doesn't require manually performing chmod +x in order to run files in this directory (specifically init-db.sh)
  • I feel that this package should provide/conflict with turtl-server so that in the future when the server eventually has a versioned release, that release version can be provided as its own package that cannot be installed at the same time as turtl-server-git, but its up to you.

Thanks again for making this package!