question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding a long commit message

See original GitHub issue

Auto-reviewers: @NiharikaRay @matthewwardrop @earthmancash @danfrankj

Hey, reviewers! I’m gathering several questions that I had while testing the repo out. Please let me know if you prefer an issue for each of them.

  1. Is there a way of adding a long message to the commits instead of the default commit -m style?

  2. Why are so many pages displayed even if I have only 2 posts?

image

  1. How do I change the logo? Actually, is not appearing in the server, but when I run the exact same thing locally it does show (the /static/images/logo-white.svg one)

  2. What are your suggestions in order to change the complete blog theme? Fork this repo and change it?, can it be done with a local config file that I have missed so I always point to the main repository instead of a forked one?

  3. My posts are all showing the default thumbnail, how to select which graph to show?

  4. Can a button be added (or the one that is there already changed) to toggle the .Rmd file instead of the .md? This could address #118 in a more elegant way. You write your post hiding all the code for the non-technical readers but allow the curious one to see how it was created by toggling to the raw .Rmd

Thanks for the hard work, I’m really enjoying testing it out. Kael

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

2reactions
matthewwardropcommented, Nov 10, 2016

@retroam @kaelhuerta This is now resolved in #138 . Will be in the next minor release (v0.8.0).

2reactions
matthewwardropcommented, Nov 8, 2016

Hi @kaelhuerta,

Thanks for your interest in the knowledge repository 😃. Let me respond to your questions one by one 😃.

Is there a way of adding a long message to the commits instead of the default commit -m style?

At this stage, no. We will be renovating the GitKnowledgeRepository class soon, so we’ll try to add such support then.

Why are so many pages displayed even if I have only 2 posts?

The user interface is quite immature, since a lot of recent attention has been spent on improving the back end. The user interface will get incrementally improved over time.

How do I change the logo? Actually, is not appearing in the server, but when I run the exact same thing locally it does show (the /static/images/logo-white.svg one) What are your suggestions in order to change the complete blog theme? Fork this repo and change it?, can it be done with a local config file that I have missed so I always point to the main repository instead of a forked one?

These are probably related. At the moment we don’t provide any mechanism for changing the theming of the website. This will come eventually, but we’re more interested in fleshing out the functionality before introducing customisation too early into the process (which would just compound our work). Consequently if changing the theming is important to you, short-term, then forking the project is probably your best bet. Regarding the logo, it seems to work as intended here. Can you create a separate issue about that with details of your knowledge_repo and system python versions; as well as which browser you use?

My posts are all showing the default thumbnail, how to select which graph to show?

Posts use the default thumbnail unless there are images in the post, in which case it uses the first image from the post. Manually specifying the thumbnail is coming soon (see #51).

Can a button be added (or the one that is there already changed) to toggle the .Rmd file instead of the .md? This could address #118 in a more elegant way. You write your post hiding all the code for the non-technical readers but allow the curious one to see how it was created by toggling to the raw .Rmd

We definitely intend to improve the way in which code is shown, and we intend to make the source files available for download (see #45). Together these should negate the need for an explicit swap between rendered markdown and Rmd.

Hope this helps!

I’m going to close this issue. If I haven’t addressed something, or you feel like a specific issue needs more exploration; please feel free to create a new issue with more details 😃.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learning How to Git: Creating a (Longer) Commit Message
Usually, we will create a commit by using git commit -m "<some message here>" . There is a better way to create commit...
Read more >
Writing long commit messages in git? - Stack Overflow
For the rest of the commit message, keeping the max line length to 72, 78, or 80 chars max can also be helpful,...
Read more >
How to write a commit message that will make your mom proud
How to write a commit message that will make your mom proud · Subject line less than or equal to 72 characters in...
Read more >
How to Write Better Git Commit Messages – A Step-By-Step ...
Length: The first line should ideally be no longer than 50 characters, and the body should be restricted to 72 characters.
Read more >
How to Write a Git Commit Message - cbea.ms
The seven rules of a great Git commit message · 1. Separate subject from body with a blank line · 2. Limit the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found