@@ -49,6 +49,8 @@ Additionally, the user:password section of the URL MAY be a
49
49
well-known, non security sensitive string. A typical example is ``git ``
50
50
in the case of a URL such as ``
ssh://[email protected] /user/repo ``.
51
51
52
+ .. _direct-url-data-structure-vcs :
53
+
52
54
VCS URLs
53
55
--------
54
56
@@ -72,6 +74,8 @@ as a dictionary with the following keys:
72
74
``commit_id `` in order to reference an immutable
73
75
version of the source code.
74
76
77
+ .. _direct-url-data-structure-archive :
78
+
75
79
Archive URLs
76
80
------------
77
81
@@ -104,6 +108,8 @@ When both the ``hash`` and ``hashes`` keys are present, the hash represented in
104
108
``hash `` key MUST also be present in the ``hashes `` dictionary, so consumers can
105
109
consider the ``hashes `` key only if it is present, and fall back to ``hash `` otherwise.
106
110
111
+ .. _direct-url-data-structure-local-directory :
112
+
107
113
Local directories
108
114
-----------------
109
115
@@ -118,13 +124,17 @@ be compliant with :rfc:`8089`. In
118
124
particular, the path component must be absolute. Symbolic links SHOULD be
119
125
preserved when making relative paths absolute.
120
126
127
+ .. _direct-url-data-structure-subdirectories :
128
+
121
129
Projects in subdirectories
122
130
--------------------------
123
131
124
132
A top-level ``subdirectory `` field MAY be present containing a directory path,
125
133
relative to the root of the VCS repository, source archive or local directory,
126
134
to specify where ``pyproject.toml `` or ``setup.py `` is located.
127
135
136
+ .. _direct-url-data-structure-registered-vcs :
137
+
128
138
Registered VCS
129
139
==============
130
140
0 commit comments