base16-universal-manager icon indicating copy to clipboard operation
base16-universal-manager copied to clipboard

Contributing to wiki

Open knezi opened this issue 4 years ago • 9 comments

Hi,

I'm going through some apps I use and create entries for them on wiki. However, since it's not part of the original repo, I'm not sure how to contribute. Do you want this contribution? If so, how should I proceed?

knezi avatar Jul 10 '20 10:07 knezi

Hey, it would be great if you would add this to the wiki, you can find it here:

https://github.com/pinpox/base16-universal-manager/wiki/Configuration-examples

Tell me if you need any help!

pinpox avatar Jul 11 '20 20:07 pinpox

I found it, but wasn't sure how to push to you. Anyway, here's my fork: https://github.com/knezi/base16-universal-manager-wiki. You can merge it from there (I think).

knezi avatar Jul 12 '20 10:07 knezi

I found it, but wasn't sure how to push to you. Anyway, here's my fork: https://github.com/knezi/base16-universal-manager-wiki. You can merge it from there (I think).

You need to open a pull-request, I'm not sure I can merge before you do. I can merge it "manually" if you like, but your contribution wont be visible. If you don't care about being credited with the changes just let me know and I will copy-paste your additions

Just go to your fork and in the "Pull requests" tab open one.

pinpox avatar Jul 13 '20 10:07 pinpox

Well, wiki is a different repository (in this example https://github.com/pinpox/base16-universal-manager.wiki.git) and sending PRs on github is not possible (https://stackoverflow.com/questions/10642928/how-to-pull-request-a-wiki-page-on-github).

In other projects, editing of the wiki is enabled for all users (like for example here https://github.com/ranger/ranger/wiki). However, I don't see this button on base-UM wiki.

AFAIK, the possibilities are (I prefer keeping the credits):

  • open wiki for editing to everyone

  • merge changes from my repository as follows (this keeps the ownership of the commits):

git clone https://github.com/pinpox/base16-universal-manager.wiki
git pull https://github.com/knezi/base16-universal-manager-wiki
git push

knezi avatar Jul 13 '20 11:07 knezi

git clone https://github.com/pinpox/base16-universal-manager.wiki git pull https://github.com/knezi/base16-universal-manager-wiki git push

Yep, that seems to have worked!

pinpox avatar Jul 13 '20 19:07 pinpox

Thanks. I'll try to add some more apps I use and let you know when they are ready for upstream.

knezi avatar Jul 14 '20 17:07 knezi

Nice, let me know when I have to merge or act in any other way to merge your docs!

pinpox avatar Jul 25 '20 09:07 pinpox

@pinpox Thanks for the useful tool. The number of published templates has increased, and the difference between the following pages seems to be getting larger.

  • https://github.com/pinpox/base16-universal-manager/wiki/Configuration-examples
$ sdiff -s wiki_20220106 templateslist_20220106
                    > amfora
                    > consolez
                    > dwm
foot                | everything
                    > frescobaldi
                    > gtk-flatcolor
                    > hexchat
                    > highlightjs
                    > hugo
                    > i3status
                    > luakit
                    > polybar
                    > qownnotes
radare2             <
telegram-desktop    | terminator
                    > textadept
                    > vim-airline-themes
                    > vimiv
                    > waybar
                    > windows-terminal
                    > wmaker
                    > wofi
$

I'm sure it's a lot of work for you to maintain the pages to handle the increasing number of templates every day, so if you open up your wiki editing rights by following the instructions below, I'll add the settings when I have time.

  • https://docs.github.com/en/communities/documenting-your-project-with-wikis/changing-access-permissions-for-wikis

I think other users will feel free to help as well. If you're worried about any problems, you can revert the settings and history. Please consider this.

funcrab avatar Jan 07 '22 00:01 funcrab

@funcrab Hey thanks for the hint! I have opened the wiki for contributions, you should now be able to edit. Thanks for documenting this!

pinpox avatar Jan 11 '22 09:01 pinpox