-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kdb import export lookup provider through pluginDatabase #3180
Kdb import export lookup provider through pluginDatabase #3180
Conversation
@markus2330 please review my pull request. |
Great job, looks very good. Let us see what the build server says. |
Nice to hear, should I look into adding some unit tests that check if import/export work with both plugin name and file format? |
Yes, some shellrecorder tests in the man pages of kdb import/export would be terrific. |
Btw. if you plan to push any new commits on a PR, please remove "ready to merge". "ready to merge" indicate that you do not want to change anything anymore and the build server passes. |
@markus2330 I added two tests for both import and export that check if the command works by specifying either the plugin directly or the desired format. |
Nope, these examples are included in the man pages. The problem is libelektra/scripts/cmake/ElektraManPage.cmake Lines 35 to 41 in cac326c
. Unfortunately I did not consider, changes which only include additions. As consequence these kind of man pages are generated, but then immediately reverted. Sorry for this bug. I will try to come up with a solution for this problem. |
@sanssecours no problem ^^ I'm glad it's not something on my end :p |
Thank you for your understanding. Pull request #3184 should fix the problem. |
I merged #3184, so rebasing to master should fix the problem. |
@sanssecours thank you for the fix, unfortunately now all man pages are marked as changed in The difference in those files is as follows:
I guess the script includes them since a deletion and insertion happened? |
I only tested my changes with macOS until now. I assume
which both seem to work. The
Currently the CMake code just checks, if the diff output for the editor |
I'm too running macOS with |
jenkins build libelektra please |
1 similar comment
jenkins build libelektra please |
Release notes are missing. |
Are you sure? Jenkins logs say something along the lines that
which indicates to me that jenkins cannot clone this repo somehow. |
I am sure my statement was wrong 😉, the problem seems to be somewhere else. If retrying does not help, making a new PR usually helps. |
Ok, I closed this one and created #3191, let's hope for the best ^^ |
Basics
These points need to be fulfilled for every PR:
(added as entry in
doc/news/_preparation_next_release.md
whichcontains
_(my name)_
)Please always add something to the release notes.
(first line should have
module: short statement
syntax)close #X
, are in the commit messages.If you have any troubles fulfilling these criteria, please write
about the trouble as comment in the PR. We will help you.
But we cannot accept PRs that do not fulfill the basics.
Checklist
Check relevant points but please do not remove entries.
For docu fixes, spell checking, and similar none of these points below
need to be checked.
(not in the PR description)
Review
Reviewers will usually check the following:
Labels
If you are already Elektra developer:
say that everything is ready to be merged.
With this PR
kdb import
andkdb export
lookup providers through the database, before you had to specify the plugin to use directly by name, e.g.yajl
where as now you can also specify the format e.g.json
.It will implement issue #1178.