[Pkg-owncloud-commits] [owncloud-doc] 09/10: Update curl related patches

David Prévot taffit at moszumanska.debian.org
Wed Mar 5 20:26:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit a07280df030cbfd851651ea658b1f1bf062cd183
Author: David Prévot <taffit at debian.org>
Date:   Wed Mar 5 09:05:30 2014 -0300

    Update curl related patches
---
 .../0002-Also-remove-curl-local-examples.patch     |  97 ++++++++++++++++
 debian/patches/0003-Uniformize-titles.patch        | 126 +++++++++++++++++++++
 debian/patches/series                              |   2 +
 3 files changed, 225 insertions(+)

diff --git a/debian/patches/0002-Also-remove-curl-local-examples.patch b/debian/patches/0002-Also-remove-curl-local-examples.patch
new file mode 100644
index 0000000..7f17334
--- /dev/null
+++ b/debian/patches/0002-Also-remove-curl-local-examples.patch
@@ -0,0 +1,97 @@
+From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit at debian.org>
+Date: Wed, 5 Mar 2014 08:55:56 -0300
+Subject: Also remove curl local examples
+
+---
+ admin_manual/sharing_api/Create_a_new_Share.rst                     | 6 ------
+ admin_manual/sharing_api/Delete_Share.rst                           | 2 --
+ admin_manual/sharing_api/Get_All_Shares.rst                         | 2 --
+ admin_manual/sharing_api/Get_Information_about_a_known_share.rst    | 2 --
+ .../sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst       | 4 ----
+ 5 files changed, 16 deletions(-)
+
+diff --git a/admin_manual/sharing_api/Create_a_new_Share.rst b/admin_manual/sharing_api/Create_a_new_Share.rst
+index c72b49a..d804652 100644
+--- a/admin_manual/sharing_api/Create_a_new_Share.rst
++++ b/admin_manual/sharing_api/Create_a_new_Share.rst
+@@ -100,9 +100,6 @@ Curl – Share as link
+ 
+ $ curl \http://<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares -k -u user:password -X POST –data “path=<file>&shareType=3”
+ 
+-$ curl \http://192.168.1.63/owncloud/ocs/v1.php/apps/files_sharing/api/v1/shares
+--k -u ser72_oc6:Password01 -X POST –data “path=test/Lab.txt&shareType=3”
+-
+ 
+ Output
+ ------
+@@ -192,9 +189,6 @@ Curl – Share with User
+ 
+ $ curl \http://<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares -k -u user:password -X POST –data "path=<file>&shareType=0&shareWith=<user>"
+ 
+-$ curl \http://192.168.1.63/owncloud/ocs/v1.php/apps/files_sharing/api/v1/shares
+--k -u ser72_oc6:Password01 -X POST –data "path=test/Lab.txt&shareType=0&shareWith=ser72"
+-
+ 
+ output
+ ------
+diff --git a/admin_manual/sharing_api/Delete_Share.rst b/admin_manual/sharing_api/Delete_Share.rst
+index f36e1a2..2dd379c 100644
+--- a/admin_manual/sharing_api/Delete_Share.rst
++++ b/admin_manual/sharing_api/Delete_Share.rst
+@@ -45,8 +45,6 @@ Curl
+ 
+ $ curl –X "DELETE" \http://<user>:<password>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/files/<share_id>
+ 
+-$ curl –X "DELETE" \http://ser72_oc6:Password01@192.168.1.63/owncloud/ocs/v1.php/apps/files_sharing/api/v1/shares/10
+-
+ 
+ output
+ ------
+diff --git a/admin_manual/sharing_api/Get_All_Shares.rst b/admin_manual/sharing_api/Get_All_Shares.rst
+index 00a578e..aa8b840 100644
+--- a/admin_manual/sharing_api/Get_All_Shares.rst
++++ b/admin_manual/sharing_api/Get_All_Shares.rst
+@@ -61,8 +61,6 @@ The password belongs to that user as well.
+ 
+ $ curl \http://<user>:<password>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares
+ 
+-$ curl \http://ser72_oc6:Password01@192.168.1.63/owncloud/ocs/v1.php/appsi/files_sharing/api/v1/shares
+-
+ 
+ output
+ ------
+diff --git a/admin_manual/sharing_api/Get_Information_about_a_known_share.rst b/admin_manual/sharing_api/Get_Information_about_a_known_share.rst
+index a2aa5b7..ab49ba3 100644
+--- a/admin_manual/sharing_api/Get_Information_about_a_known_share.rst
++++ b/admin_manual/sharing_api/Get_Information_about_a_known_share.rst
+@@ -65,8 +65,6 @@ Curl
+ 
+ $ curl \http://<user>:<passowrd>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares/<share_id>
+ 
+-$ curl \http://ser72_oc6:Password01@192.168.1.63/owncloud/ocs/v1.php/apps/files_sharing/api/v1/shares/7
+-
+ 
+ output
+ ------
+diff --git a/admin_manual/sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst b/admin_manual/sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst
+index 09c7123..0e0bc30 100644
+--- a/admin_manual/sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst
++++ b/admin_manual/sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst
+@@ -92,8 +92,6 @@ Curl – default configuration:
+ 
+ $ curl –G –data "path=test_share_api/ieee.txt" \http://<userid>:<password>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares
+ 
+-$ curl –G –data "path=test_share_api/ieee.txt"
+-\http://ser72_oc6:Password01@192.168.1.63/owncloud/ocs/v1.php/apps/files_sharing/api/v1/shares
+ 
+ output
+ ------
+@@ -206,8 +204,6 @@ Curl – To add another argument, such as re-shares
+ 
+ $ curl –G –data "path=test_share_api/ieee.tx&reshares=true" \http://<userid>:<password>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares
+ 
+-$ curl –G –data "path=test_share_api/ieee.tx&reshares=true"
+-\http://ser72_oc6:Password01@192.168.1.63/owncloud/ocs/v1.php/apps/files_sharing/api/v1/shares
+ 
+ output
+ ------
diff --git a/debian/patches/0003-Uniformize-titles.patch b/debian/patches/0003-Uniformize-titles.patch
new file mode 100644
index 0000000..dc42374
--- /dev/null
+++ b/debian/patches/0003-Uniformize-titles.patch
@@ -0,0 +1,126 @@
+From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit at debian.org>
+Date: Wed, 5 Mar 2014 09:02:02 -0300
+Subject: Uniformize titles
+
+Start with uppercase, do not end with a colon.
+---
+ admin_manual/sharing_api/Create_a_new_Share.rst            |  2 +-
+ admin_manual/sharing_api/Delete_Share.rst                  |  2 +-
+ admin_manual/sharing_api/Get_All_Shares.rst                |  6 +++---
+ .../sharing_api/Get_Information_about_a_known_share.rst    |  2 +-
+ .../Get_Shares_from_a_Specific_File_or_Folder.rst          | 14 +++++++-------
+ 5 files changed, 13 insertions(+), 13 deletions(-)
+
+diff --git a/admin_manual/sharing_api/Create_a_new_Share.rst b/admin_manual/sharing_api/Create_a_new_Share.rst
+index d804652..e8882c6 100644
+--- a/admin_manual/sharing_api/Create_a_new_Share.rst
++++ b/admin_manual/sharing_api/Create_a_new_Share.rst
+@@ -190,7 +190,7 @@ Curl – Share with User
+ $ curl \http://<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares -k -u user:password -X POST –data "path=<file>&shareType=0&shareWith=<user>"
+ 
+ 
+-output
++Output
+ ------
+ 
+ +------------------------------+-------------------------+
+diff --git a/admin_manual/sharing_api/Delete_Share.rst b/admin_manual/sharing_api/Delete_Share.rst
+index 2dd379c..267e3ef 100644
+--- a/admin_manual/sharing_api/Delete_Share.rst
++++ b/admin_manual/sharing_api/Delete_Share.rst
+@@ -46,7 +46,7 @@ Curl
+ $ curl –X "DELETE" \http://<user>:<password>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/files/<share_id>
+ 
+ 
+-output
++Output
+ ------
+ 
+ +------------------------------+------------------------+
+diff --git a/admin_manual/sharing_api/Get_All_Shares.rst b/admin_manual/sharing_api/Get_All_Shares.rst
+index aa8b840..6504fb8 100644
+--- a/admin_manual/sharing_api/Get_All_Shares.rst
++++ b/admin_manual/sharing_api/Get_All_Shares.rst
+@@ -29,8 +29,8 @@ The following is a list of returned status codes:
+ +------------------+---------------------+
+ 
+ 
+-Poster:
+--------
++Poster
++------
+ 
+ +---------------+---------------------------------------------+
+ | Field         | Value                                       |
+@@ -62,7 +62,7 @@ The password belongs to that user as well.
+ $ curl \http://<user>:<password>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares
+ 
+ 
+-output
++Output
+ ------
+ 
+ +--------------------------------------------------------+---------------------------------------------+
+diff --git a/admin_manual/sharing_api/Get_Information_about_a_known_share.rst b/admin_manual/sharing_api/Get_Information_about_a_known_share.rst
+index ab49ba3..3683f4b 100644
+--- a/admin_manual/sharing_api/Get_Information_about_a_known_share.rst
++++ b/admin_manual/sharing_api/Get_Information_about_a_known_share.rst
+@@ -66,7 +66,7 @@ Curl
+ $ curl \http://<user>:<passowrd>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares/<share_id>
+ 
+ 
+-output
++Output
+ ------
+ 
+ +--------------------------------------------------------+------------------------+
+diff --git a/admin_manual/sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst b/admin_manual/sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst
+index 0e0bc30..4251c91 100644
+--- a/admin_manual/sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst
++++ b/admin_manual/sharing_api/Get_Shares_from_a_Specific_File_or_Folder.rst
+@@ -47,7 +47,7 @@ The following is a list of returned status codes:
+ +------------------+------------------------------------------------------+
+ 
+ 
+-Poster - Default arguments
++Poster – Default arguments
+ --------------------------
+ 
+ This example shows the output of share information for “test share api/ieee.txt”
+@@ -87,13 +87,13 @@ Navigate to the “Content to Send” tab and select “Body from Parameters”
+ 
+ Select GET.
+ 
+-Curl – default configuration:
+------------------------------
++Curl – Default configuration
++----------------------------
+ 
+ $ curl –G –data "path=test_share_api/ieee.txt" \http://<userid>:<password>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares
+ 
+ 
+-output
++Output
+ ------
+ 
+ +--------------------------------------------------------+-------------------------------+
+@@ -180,8 +180,8 @@ output
+ +--------------------------------------------------------+-------------------------------+
+ 
+ 
+-Poster - To add another argument, such as re-shares:
+-----------------------------------------------------
++Poster – To add another argument, such as re-shares
++---------------------------------------------------
+ 
+ This example shows the output of share information for “test share api/ieee.txt”.
+ reshares is set to true which will show output if the file is re-shared by another user.
+@@ -205,7 +205,7 @@ Curl – To add another argument, such as re-shares
+ $ curl –G –data "path=test_share_api/ieee.tx&reshares=true" \http://<userid>:<password>@<ip>/ocs/v1.php/apps/files_sharing/api/v1/shares
+ 
+ 
+-output
++Output
+ ------
+ 
+ +--------------------------------------------------------+--------------------------------------+
diff --git a/debian/patches/series b/debian/patches/series
index 2f7cc04..c9a70bd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,3 @@
 0001-Fix-curl-syntax.patch
+0002-Also-remove-curl-local-examples.patch
+0003-Uniformize-titles.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list