Blame view

sources/3rdparty/PEAR/Command/Channels.xml 4.12 KB
03e52840d   Kload   Init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
  <commands version="1.0">
   <list-channels>
    <summary>List Available Channels</summary>
    <function>doList</function>
    <shortcut>lc</shortcut>
    <options />
    <doc>
  List all available channels for installation.
  </doc>
   </list-channels>
   <update-channels>
    <summary>Update the Channel List</summary>
    <function>doUpdateAll</function>
    <shortcut>uc</shortcut>
    <options />
    <doc>
  List all installed packages in all channels.
  </doc>
   </update-channels>
   <channel-delete>
    <summary>Remove a Channel From the List</summary>
    <function>doDelete</function>
    <shortcut>cde</shortcut>
    <options />
    <doc>&lt;channel name&gt;
  Delete a channel from the registry.  You may not
  remove any channel that has installed packages.
  </doc>
   </channel-delete>
   <channel-add>
    <summary>Add a Channel</summary>
    <function>doAdd</function>
    <shortcut>ca</shortcut>
    <options />
    <doc>&lt;channel.xml&gt;
  Add a private channel to the channel list.  Note that all
  public channels should be synced using &quot;update-channels&quot;.
  Parameter may be either a local file or remote URL to a
  channel.xml.
  </doc>
   </channel-add>
   <channel-update>
    <summary>Update an Existing Channel</summary>
    <function>doUpdate</function>
    <shortcut>cu</shortcut>
    <options>
     <force>
      <shortopt>f</shortopt>
      <doc>will force download of new channel.xml if an existing channel name is used</doc>
     </force>
     <channel>
      <shortopt>c</shortopt>
      <doc>will force download of new channel.xml if an existing channel name is used</doc>
      <arg>CHANNEL</arg>
     </channel>
    </options>
    <doc>[&lt;channel.xml&gt;|&lt;channel name&gt;]
  Update a channel in the channel list directly.  Note that all
  public channels can be synced using &quot;update-channels&quot;.
  Parameter may be a local or remote channel.xml, or the name of
  an existing channel.
  </doc>
   </channel-update>
   <channel-info>
    <summary>Retrieve Information on a Channel</summary>
    <function>doInfo</function>
    <shortcut>ci</shortcut>
    <options />
    <doc>&lt;package&gt;
  List the files in an installed package.
  </doc>
   </channel-info>
   <channel-alias>
    <summary>Specify an alias to a channel name</summary>
    <function>doAlias</function>
    <shortcut>cha</shortcut>
    <options />
    <doc>&lt;channel&gt; &lt;alias&gt;
  Specify a specific alias to use for a channel name.
  The alias may not be an existing channel name or
  alias.
  </doc>
   </channel-alias>
   <channel-discover>
    <summary>Initialize a Channel from its server</summary>
    <function>doDiscover</function>
    <shortcut>di</shortcut>
    <options />
    <doc>[&lt;channel.xml&gt;|&lt;channel name&gt;]
  Initialize a channel from its server and create a local channel.xml.
  If &lt;channel name&gt; is in the format &quot;&lt;username&gt;:&lt;password&gt;@&lt;channel&gt;&quot; then
  &lt;username&gt; and &lt;password&gt; will be set as the login username/password for
  &lt;channel&gt;. Use caution when passing the username/password in this way, as
  it may allow other users on your computer to briefly view your username/
  password via the system&#039;s process list.
  </doc>
   </channel-discover>
   <channel-login>
    <summary>Connects and authenticates to remote channel server</summary>
    <function>doLogin</function>
    <shortcut>cli</shortcut>
    <options />
    <doc>&lt;channel name&gt;
  Log in to a remote channel server.  If &lt;channel name&gt; is not supplied,
  the default channel is used. To use remote functions in the installer
  that require any kind of privileges, you need to log in first.  The
  username and password you enter here will be stored in your per-user
  PEAR configuration (~/.pearrc on Unix-like systems).  After logging
  in, your username and password will be sent along in subsequent
  operations on the remote server.</doc>
   </channel-login>
   <channel-logout>
    <summary>Logs out from the remote channel server</summary>
    <function>doLogout</function>
    <shortcut>clo</shortcut>
    <options />
    <doc>&lt;channel name&gt;
  Logs out from a remote channel server.  If &lt;channel name&gt; is not supplied,
  the default channel is used. This command does not actually connect to the
  remote server, it only deletes the stored username and password from your user
  configuration.</doc>
   </channel-logout>
  </commands>