[PATCH 0/1] Code of conduct: amendment
by Richard Ipsum
repo: git://git.gitano.org.uk/gitano-web.git
Greetings to all!
Though I am personally of the opinion that we are so delightful towards
each other that a code of conduct is not strictly necessary I have chosen
to make a more moderate amendment here.
I hope that this helps,
Richard
Richard Ipsum (1):
Remove superfluous statements
covenant.mdwn | 12 ------------
1 file changed, 12 deletions(-)
--
2.13.0
5 years, 9 months
[RFC 0/1] gitano-cli
by Richard Ipsum
repo: git://git.gitano.org.uk/personal/richardipsum/gitano-cli.git
ref: master
HEAD: 3f8a07548ab19b280edde7b886248afc334dd5a7
Hello,
I have often wished for a wrapper around gitano's ssh interface,
the ssh interface is good but is obviously limited in some ways.
This is a result of a day's hacking on such a wrapper, it only
has the most basic commands but already I find it preferable to
using ssh directly.
For some basic commands the wrapper provides really not much
advantage at all over `alias gitanocmd="ssh gitano(a)git.gitano.org.uk"',
but there are several commands that are made more convenient than would
otherwise be possible with a simple shell alias, these are:
* add-ssh-key (we can now take a file path as an arg)
* set-http-password (a slightly more intuitive prompt)
* various `get-foo` commands that otherwise require more rote memorisation
* various `set-foo` commands that are again simpler to use with the wrapper
(e.g setting the project's description is now just
`gitano set-description <repo> <description>')
cliapp and python2 may seem an odd choice, but cliapp made writing this
really easy (out of box config, subcommands and ssh_runcmd). I'm happy
to help porting cliapp to python3 when the time comes so it's not really a
problem.
This interface is obviously missing the admin section, that's because
I don't know how to tackle that yet, I'm especially unsure of how to
represent `as <user>' so suggestions here would be really useful! :D
Hope this helps,
Richard
Richard Ipsum (1):
Initial commit
--
2.13.0
5 years, 10 months
[PATCHv2 0/6] Miscellaneous fixes for sysbranch work
by Daniel Silverstone
Repo: git://git.gitano.org.uk/gitano.git
ref: dsilvers/sysbranch-fixes
SHA1: c171412cd338fd71394444f050e6deac0d529810
This is v2 of the sysbranch misc fixes series.
Changes since last time:
* Reworked generate_httpurl in patch 4
* Added lock/unlock utility function
* Used lock/unlock support in htpasswd functions
Daniel Silverstone (6):
Pass LUA_INIT through for test purposes
Update htpasswd when user names change
Should not run hook tests over http
Test suite properly runs gitano-command.cgi
Add lock and unlock utility functions
Use new lock/unlock functions to guard htpasswd updates
lib/gitano/admincommand.lua | 34 +++++++++++++++++++++
lib/gitano/usercommand.lua | 3 +-
lib/gitano/util.lua | 18 ++++++++++++
testing/01-hooks.yarn | 1 +
testing/gitano-test-tool.in | 72 +++++++++++++++++++++++++++++----------------
testing/http-unwrap | 38 ++++++++++++++----------
testing/library.yarn | 32 ++++++++++----------
7 files changed, 141 insertions(+), 57 deletions(-)
--
2.11.0
5 years, 10 months
[PATCH 0/4] Miscellaneous fixes ready for CI sysbranches
by Daniel Silverstone
Repo: git://git.gitano.org.uk/gitano.git
Ref: dsilvers/sysbranch-fixes
SHA1: aeeb78be1fa1fa6a5f7659d26edc28edbce6918e
While trying to write sysbranch support for Gitano CI, I noticed that the
HTTP test suite wasn't really running commands throug HTTP. Fixed that and
spotted a bug where user deletion and renaming didn't update htpasswd,
fixed that. And finally spotted that a hook test was running in HTTP mode
where it shouldn't. Enjoy.
Daniel Silverstone (4):
Pass LUA_INIT through for test purposes
Update htpasswd when user names change
Should not run hook tests over http
Test suite properly runs gitano-command.cgi
lib/gitano/admincommand.lua | 32 +++++++++++++++++++++
testing/01-hooks.yarn | 1 +
testing/gitano-test-tool.in | 68 ++++++++++++++++++++++++++++++---------------
testing/http-unwrap | 38 +++++++++++++++----------
testing/library.yarn | 32 ++++++++++-----------
5 files changed, 117 insertions(+), 54 deletions(-)
--
2.11.0
5 years, 10 months
[supple][PATCH 0/1] security: clear environment
by Richard Ipsum
repo: git://git.gitano.org.uk/personal/richardipsum/supple.git
branch: richardipsum/clearenv
HEAD: a18b40facef388bb94b3c22ee908e65cbbcdcce6
Hi,
I came across Secure Programming HOWTO: Environment Variables[1],
and thought that maybe we should just clear the whole environment,
I've tested this on Nix and it all still seems to work.
Setting environ directly maybe isn't the cleanest but it's probably
the most portable I guess.
Thanks,
Richard
[1]: https://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/environmen...
Richard Ipsum (1):
security: clear environment
src/wrapper.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
--
2.11.0
5 years, 10 months
[PATCH 0/3] Supple: misc platform tweaks
by Richard Ipsum
repo: git://git.gitano.org.uk/personal/richardipsum/supple.git
ref: richardipsum/platform-tweaks
HEAD: 7bf0447dbd2bae2908aa7d88e18a65df6801571d
Hi,
minor changes that enable this to build on NixOS.
Hope this helps,
Richard
Richard Ipsum (3):
setuid only if root
Squash compiler warning of ignored ret value
Makefile: make all depend on build instead of test
Makefile | 8 +++++---
src/wrapper.c | 11 ++++++++---
2 files changed, 13 insertions(+), 6 deletions(-)
--
2.13.0
5 years, 10 months
[PATCH 0/1] Gitano: Avoid build-time dep on luxio
by Richard Ipsum
repo: git://git.gitano.org.uk/personal/richardipsum/gitano.git
ref: richardipsum/nixtrix
HEAD: 574fca4502ad46b427a1c8dbf8ab34b90bc66f56
Richard Ipsum (1):
Avoid build-time dependency on luxio
utils/install-lua-bin | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--
2.13.0
5 years, 10 months
[PATCH 0/2] Supple: bake env vars
by Richard Ipsum
repo: git://git.gitano.org.uk/personal/richardipsum/supple.git
ref: richardipsum/baked-supple
HEAD: 4de01f553eb88c88600946a4b52bb9f9628ff048
Hi,
After some discussion with Daniel this approach is adopted to handle
loading dependencies from unusual places without opening ourselves
to the insecurity of allowing the dependency location to be set at runtime.
This is based on the previous set of misc platform stuff for supple:
richardipsum/platform-tweaks
I've only tested building this with nix, I've not tried building with
Debian.
Thanks,
Richard
Richard Ipsum (2):
Allow lua link option to be overridden
Allow baking of LUA_PATH and LUA_CPATH env vars
Makefile | 28 +++++++++++++++++++++++-----
src/supple_paths.h.in | 3 +++
src/wrapper.c | 9 ++++++++-
3 files changed, 34 insertions(+), 6 deletions(-)
create mode 100644 src/supple_paths.h.in
--
2.13.0
5 years, 10 months
Gitano on Nix!
by Richard Ipsum
Dear everyone!
A working set of nixpkgs for gitano now exist! They are not yet upstreamed.
Our first step towards upstreaming them is to make new releases of each of:
* gitano
* lua-scrypt
* luxio
* supple
Thanks!
Richard
Appendix A
-----------
Would you like to be the builder of your very own nix expressions ??
Wow well follow me! :D
First we will pop some pills[1] together and observe what happens,
these pills are no ordinary pills, no, they will in fact do beautiful things
to us, mutate our minds in ways we scarcely begin to imagine!
Imagine that you are a master of nix, and you are,
you can follow these instructions
~% git clone https://github.com/richardipsum/nixpkgs.git
~/nixpkgs% git checkout gitano
Now from within your very own nix environment installation is simple,
literally one command in fact!
~% nix-env -f nixpkgs -iA pkgs.lua51Packages.gitano
if nothing went wrong then you should now be able to run `gitano-setup`
like normal, if this doesn't break then wow great. Try whoami and all those
things, really stress test it! report any failures to this list!
then other things will happen!
[1]: http://lethalman.blogspot.co.uk/2014/07/nix-pill-1-why-you-should-give-it...
5 years, 11 months
[PATCH 0/1] Fix up capi.so linkage for Supple
by Daniel Silverstone
Repo: git://git.gitano.org.uk/supple.git
Ref: dsilvers/link-fixup
SHA1: 63ee18cee0fa87cbac11f7688d460200ac61cdb8
As per the changes to luxio and lua-scrypt, this is a link fixup for capi.so
in Supple to remove the direct linkage to the lua interpreter.
Daniel Silverstone (1):
Do not link capi.so against the lua interpreter
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.11.0
5 years, 11 months