~glorifiedgluer/gluer.org

08cbc9581e49e9a525025d562e17f26897e50c59 — Victor Freire 5 months ago 1b8142c
article: a-small-workflow-problem-i-m-facing
1 files changed, 55 insertions(+), 0 deletions(-)

M content-org/content.org
M content-org/content.org => content-org/content.org +55 -0
@@ 5033,7 5033,62 @@ let getUser config userId : HttpHandler =
  }
#+end_src

** A small workflow problem I'm facing                             :thought:
:PROPERTIES:
:EXPORT_DATE: 2023-06-19
:EXPORT_FILE_NAME: a-small-workflow-problem-i-m-facing
:EXPORT_HUGO_SLUG: a-small-workflow-problem-i-m-facing
:END:

#+begin_description
How to deal with rebasing hell? Please, send help.
#+end_description

I have a lot of fun writing posts for this blog, how things are setup
also contributes a lot for this. Right now, there's a [[*Moving this website to a single Org Mode file][single Org file]]
holding all of its content. It is extremely easy to cite older posts,
navigate through the text and write a new piece.

However, I'm currently facing a problem regarding Git and unfinished
articles. See, sometimes I take a bit of time to finish writing a more
elaborate post[fn:44] and the problem is that by the time I make it a
work in progress, I have this hanging piece of text on my file that
only introduces conflicts on Git.

The workflow goes like this:

1. I start writing a piece and think it will take more time than
   expected
2. I mark it as /TODO/ and commit with a ~wip: <article-slug>~ commit
   message
3. When I want to get back to write it, I rebase to that commit, edit
   the rest of the text and /continue/ the rebase
4. Now I have to fix the conflict with the newer articles

I don't know how to fix this, and it's starting to cause me trouble as
the number of incomplete articles can't be too big, otherwise I'll
have a rebase nightmare.

For the time being, I'm using my [[*Simple Org Mode setup to get things done][Org Agenda]] setup and a sketch book
and it has been working fine. I start writing the articles there and
once they are done, I paste them on the blog:

#+begin_src org
 Future Ideas
  todo:       IDEA article: Suckless-like NixOS NAS with Secret management and Backups              :nix:linux:shell:personal:
  todo:       IDEA article: Restricting users to SFTP on NixOS                                      :personal:nix:linux:
  todo:       IDEA article: Why won't people use Matrix?                                            :personal:
  todo:       IDEA article: Streaming videos (or any file) with Giraffe in F#                       :fsharp:dotnet:
  todo:       IDEA article: fscheck discoveries                                                     :personal:
#+end_src

Maybe I'm just over-complicating things for myself with no real
benefit... maybe not. Let's see how it goes!

* Footnotes

[fn:44] Absolutely nothing related to procrastination!

[fn:43] Actually, there was a [[https://github.com/jacentino/SqlFun/issues/16][previous attempt]], but I failed
miserably. This article is my /redemption arc/ with the library. 🥲