mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 14:52:03 +01:00
Update wikipage IRON: Eiffel package repository. (Signed-off-by:jocelyn).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1466 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[[Property:title|IRON: Eiffel package repository]]
|
||||
[[Property:link_title|IRON packages]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|67F8B98D-128F-4159-B57E-9B456F24D6D4]]
|
||||
[[Property:uuid|393EFF7D-49DF-472C-89CE-7E0970F1A96A]]
|
||||
{{ReviewRequested}}
|
||||
|
||||
=Purpose=
|
||||
@@ -15,8 +15,8 @@ Most often a package is a library or a set of libraries, but it could also other
|
||||
=Package Repository vs Library Repository=
|
||||
|
||||
Certainly the IRON repository is a repository of Eiffel libraries. However, sometimes libraries are used together, or cross reference one another, and thus are appropriate to be delivered together as a unit.
|
||||
Such unit can also include other types of files, such as external .c files that may need to be compiled on the local platform to make .LIB or .OBJ files available to the linker (.a or .o on Unix and Linux systems), scripts or executables that need to be run as part of the installation process (e.g. to generate other files required by the library, install environment variables, generate source code from LEX files), or tool kits that are part of, or needed by, the library.
|
||||
Since the IRON repository permits programmers to install software components in "units"ÂÂÂ, and since sometimes those units can contain more than one library, as well as other types of files, a new term was required to convey this concept: package.
|
||||
Such unit can also include other types of files, such as external .c files that may need to be compiled on the local platform to make .LIB or .OBJ files available to the linker (.a or .o on Unix and Linux systems), scripts or executable that need to be run as part of the installation process (e.g. to generate other files required by the library, install environment variables, generate source code from LEX files), or tool kits that are part of, or needed by, the library.
|
||||
Since the IRON repository permits programmers to install software components in "units", and since sometimes those units can contain more than one library, as well as other types of files, a new term was required to convey this concept: package.
|
||||
|
||||
{{Definition|package|a downloadable unit of software from an IRON repository that contains one or more Eiffel libraries and their related files.}}
|
||||
|
||||
@@ -144,7 +144,7 @@ At the website provided by a particular IRON server, you can get information abo
|
||||
* Select the version that matches the version of EiffelStudio you have installed.
|
||||
Example: clicking on version 14.05 takes you to https://iron.eiffel.com/repository/14.05/ where you can list existing packages, or add a new package if you have an account on the server.
|
||||
|
||||
If you click the "Package list" or "All packages" link, it takes you to a list of packages available under that version.
|
||||
If you click the "Package list" or "All packages" link, it takes you to a list of packages available under that version.
|
||||
|
||||
== Search/filter==
|
||||
To filter this list, you can use the search window. You can specify search criteria in this format <code>:criterion:search_string</code>
|
||||
@@ -269,7 +269,7 @@ The "iron" executable is used to perform various operations such as search, inst
|
||||
</code>
|
||||
(or <nowiki>iron install https://iron.eiffel.com/14.05/com.eiffel/library/base</nowiki>)
|
||||
|
||||
:(This latter form is useful in resolving name conflicts when, for instance, you have multiple IRON repositories registered on your system, and two or more contain a packaged called "base"ÂÂÂ.)
|
||||
:(This latter form is useful in resolving name conflicts when, for instance, you have multiple IRON repositories registered on your system, and two or more contain a packaged called "base".)
|
||||
|
||||
===Uninstall a package===
|
||||
<code> iron remove base
|
||||
@@ -298,7 +298,7 @@ iron repository --remove https://custom.example.com/14.05
|
||||
|
||||
===Multiple-Repository Name Conflict Resolution===
|
||||
|
||||
If you have more than one IRON repository registered on your system, it is possible that the same package name may exist on more than one repository. If this is the case, and you attempt to perform operations using that name only, the repository that will be used will be the first repository in the list that contains a package with that name. If you need the package with that name from a different repository, then use the "id" or "uri" form of the identifying the package you want.
|
||||
If you have more than one IRON repository registered on your system, it is possible that the same package name may exist on more than one repository. If this is the case, and you attempt to perform operations using that name only, the repository that will be used will be the first repository in the list that contains a package with that name. If you need the package with that name from a different repository, then use the "id" or "uri" form of the identifying the package you want.
|
||||
|
||||
If the sequence of repositories is not to your liking, you can change it in three ways:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user