Skip to content
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

Make "pihole -d -a" automatically upload the debug log #1268

Closed
wants to merge 2 commits into from

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented Feb 22, 2017

By submitting this pull request, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your PR:

Please submit all pull requests against the development branch. Failure to do so will delay or deny your request

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

How familiar are you with the codebase?: 10


Needed for pi-hole/web#399

Can be merged w/o merging pi-hole/web#399

This template was created based on the work of udemy-dl.

… token + some cosmetics for displaying on the web interface
@DL6ER DL6ER added this to the v2.13 milestone Feb 23, 2017
@jacobsalmela
Copy link
Contributor

You mean pihole -d right, not -p?

@DL6ER DL6ER changed the title Make "pihole -p -a" automatically upload the debug log Make "pihole -d -a" automatically upload the debug log Feb 23, 2017
@DL6ER
Copy link
Member Author

DL6ER commented Feb 23, 2017

Whoops, Yes. Not Pebug but Debug

@dschaper
Copy link
Member

Changed title to "Make Dan finish the code already..."

@dschaper dschaper self-assigned this Feb 24, 2017
@AzureMarker
Copy link
Contributor

AzureMarker commented Feb 25, 2017

Approved

Approved with PullApprove

@@ -336,7 +342,11 @@ countdown() {
printf "::: Logging will automatically teminate in ${TIMEOUT} seconds\n"
while [ $tuvix -ge 1 ]
do
printf ":::\t${tuvix} seconds left. \r"
if ! ${automated} ; then
printf ":::\t${tuvix} seconds left. \r"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has no newline, causing output like this (captured via web debug):

:::	60 seconds left. :::	55 seconds left. :::	50 seconds left.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be a new line, it has a carriage return to overwrite the counter on a terminal display.

@dschaper
Copy link
Member

Do not merge until the back end code is there, or we're going to have a bad time.

@dschaper
Copy link
Member

See #1281 for back and updates.

@dschaper
Copy link
Member

Does this conflict with #1281 ?

@DL6ER
Copy link
Member Author

DL6ER commented Feb 27, 2017

Implemented by #1281

@DL6ER DL6ER closed this Feb 27, 2017
@DL6ER DL6ER deleted the new/onlineDebug branch February 27, 2017 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants