proto/_proto.org
2019-01-23 06:28:53 -08:00

2.7 KiB
Raw Blame History

(open bullets with TAB)

TODOS

TODO notnull will test emacs howto-from-scratch tutorial

TODO write git workflow (see section below w/ questions)

proto

The purpose of proto is to document a workflow for projex, etc. The first step is emacs / pandoc / git.

emacs org mode

So I want this to be a very brief overview of features etc. so people can get started using it the way we want, but it's not finished…

the point is that org mode has a simple syntax that can be converted very easily w/ pandoc to html with no garbage. it also makes things easy to organize.

for example, C-x C-f projex_demo.org

projex_demo.org = wget no-check-certificate https://irc.anarchyplanet.org/pad/p/projex, and then added some bullets in like 5 minutes … the organization still needs work but it's relatively easy. My goal is to org-mode organize the projex pad and then copy-paste it back into the pad, cleaned up. And then also to pandoc convert it to html.

Bullets

  • headers are organized with *

    • M-<enter> to add new heading
    • M-<left> or M-<right> to promote / demote heading
  • TAB to expand/collapse trees

TODOs

DONE demo emacs org mode to data
DONE enable line wrap as default
TODO re-write projex in org mode style
  • projex_demo.org is the test run of this.
  • C-c C-t to cycle through todo-done
  • You can add more options with

links

  • link structure: [ [link][desc] ] (but without the spaces)
  • file C-c C-o to open at point

agenda mode

  • agenda mode command has to be added

exports

code blocks / literate programming

Git Workflow

  • git home = serge:srv/git
  • mkdir projex/repo.git && cd repo.git && git init bare
  • torsocks git clone git@w2ja5hhrcjc2wnxe.onion:projex/repo.git

    • this requires that you have a pubkey added to srv/git/.ssh/authorized_keys
    • see /var/www/irc.anarchyplanet.org/dox for an example of this locally (git remote -v)
    • you will clone an empty repo… make changes locally and then push
  • make changes locally
  • torsocks git push origin master

branch issues with git push

I don't have permissions figured out perfectly for this. when I push as notnull@host it hangs (permission issue) but when I push as root it's fine. also when I push as notnull@serge.

notnull is part of group git.

I need to examine permissions for /srv/git

Does srv/git/projex/proto need to be owned by notnull? does the push need to happen as git user? https://en.wikibooks.org/wiki/Git/Gitosis#Defining_Groups,_Members,_Permissions,_and_Repositories https://wiki.archlinux.org/index.php/Gitosis#Repositories_and_permissions

random notes

online collaboration and async communication: <manifesto will go here>