Bug#1000324: RFS: ghostwriter/2.1.0-1 -- Distraction-free, themeable Markdown editor

2021-11-23 Thread Nicholas D Steeves
P.S. Yes, these methods aren't mutually exclusive; they can be combined.
I was just trying to keep things simple ;-)


signature.asc
Description: PGP signature


Bug#1000324: RFS: ghostwriter/2.1.0-1 -- Distraction-free, themeable Markdown editor

2021-11-23 Thread Nicholas D Steeves
Hi Sebastien,

Sebastien Chavaux  writes:
>
> Thank you first of all. So it's not that I don't want to maintain git /
> salsa, it's that I'm not comfortable with it, should do a remedial course
> on it.
>

I also found git hard to start out with.  The first thing I noticed that
all documentation seemed to omit was how important it is to set EDITOR
in ~/.bashrc.

Beyond that, here are the three approaches I took:

1. Keep it simple, and use debcommit.  With this approach I assume
whole-repository granularity.  Note that one pitfall with this method is
that you may need to manually run "git status", "git add ./", and "git
remove list of files".  "git add ./" will also add backup-files~, which
is annoying.  To be fair, debcommit+git does support more a more
fine-grained staging and committing workflow, but I never really got
comfortable with it.  One significant advantage to this approach is that
it encourages objective-driven development.  eg: your "* changelog
entry for foo" can be seen as your goal; then you work to accomplish
your goal.
   * uscan
   * dch -v1.0.1
 # Make any change, even as simple as  , then save
   and exit
   * debcommit -a
 # This "opens a new changelog entry" in git history
[a]* Attempt a build
   * If it fails, make changes
   * dch
 # Document the purpose of your changes, save, and exit
   * debcommit -a
   ... cycle back to [a]
   and so on...  Eventually "dch -r", commit, and tag.

2. git-buildpackage a bit more difficult, but still fairly easy to use,
and optionally enables a the opposite workflow, where the changelog is
generated from commit messages.  When this was my primary approach I
manually ran git commands as necessary.

3. Learn to use Magit to exploit the full power of git staging,
reverting, rebasing, 3-way diffing during conflicts, etc.  This is now
my preferred approach, because it enables one to do all the work at
once, then quickly stage specific groups of files and lines from files
(such as changelog) into atomic, self-contained commits.  Getting
comfortable with this approach requires getting comfortable with Emacs,
which might not be something you're interested in.  For what it's worth,
I was initially skeptical, but after a few months found it totally
worthwhile.

Whatever approach you end up taking, I hope you'll one day have an
empowering "Aha!" moment when you realise that your work wasn't wiped
out by a hasty "git reset --hard committish".  eg:
  https://stackoverflow.com/questions/5473/how-can-i-undo-git-reset-hard-head1

Beyond this, it's a bit annoying to have to locally delete a release tag
if your mentor asks for revisions; this includes updating the changelog,
committing, rerunning "dch -r", committing, and retagging.

> I will see how to define the same list of architectures as qtwebengine5. I
> watch this and do it after work.
>

This sounds like a good approach to me :-)

Cheers,
Nicholas


signature.asc
Description: PGP signature


Bug#1000324: RFS: ghostwriter/2.1.0-1 -- Distraction-free, themeable Markdown editor

2021-11-22 Thread Sebastien Chavaux
Hello Bastian ;-)

On Sun, 21 Nov 2021 21:41:39 +0100 Bastian Germann  wrote:
> Hi Sebastien,
>
> On Sun, 21 Nov 2021 17:16:05 +0100 Sebastien Chavaux wrote:
> > Changes since the last upload:
> >
> > ghostwriter (2.1.0-1) unstable; urgency=medium
> > .
> > * New upstream release.
>
> I will sponsor this as-is as soon as you have updated the salsa repo.
> If you do not want to maintain the package in git anymore, please remove
the Vcs fields.
>
> Also, please consider setting the same architecture list as qtwebengine5.
>
> Thanks,
> Bastian
>
>

Thank you first of all. So it's not that I don't want to maintain git /
salsa, it's that I'm not comfortable with it, should do a remedial course
on it.

I will see how to define the same list of architectures as qtwebengine5. I
watch this and do it after work.

Sincerely, Seb


Bug#1000324: RFS: ghostwriter/2.1.0-1 -- Distraction-free, themeable Markdown editor

2021-11-21 Thread Bastian Germann

Hi Sebastien,

On Sun, 21 Nov 2021 17:16:05 +0100 Sebastien Chavaux wrote:

Changes since the last upload:

 ghostwriter (2.1.0-1) unstable; urgency=medium
 .
   * New upstream release.


I will sponsor this as-is as soon as you have updated the salsa repo.
If you do not want to maintain the package in git anymore, please remove the 
Vcs fields.

Also, please consider setting the same architecture list as qtwebengine5.

Thanks,
Bastian



Bug#1000324: RFS: ghostwriter/2.1.0-1 -- Distraction-free, themeable Markdown editor

2021-11-21 Thread Sebastien Chavaux
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "ghostwriter":

 * Package name: ghostwriter
   Version : 2.1.0-1
   Upstream Author : wereturtle 
 * URL : https://wereturtle.github.io/ghostwriter/
 * License : GPL-3.0, ISC, Expat, GPL-3.0+, CC-BY-SA-4.0
 * Vcs : https://salsa.debian.org/seb95-guest/ghostwriter
   Section : editors

It builds those binary packages:

  ghostwriter - Distraction-free, themeable Markdown editor

To access further information about this package, please visit the
following URL:

  https://mentors.debian.net/package/ghostwriter/

Alternatively, one can download the package with dget using this command:

  dget -x
https://mentors.debian.net/debian/pool/main/g/ghostwriter/ghostwriter_2.1.0-1.dsc

Changes since the last upload:

 ghostwriter (2.1.0-1) unstable; urgency=medium
 .
   * New upstream release.

Regards,