Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Cross conda interface master merge - #124

Merged
mingwandroid merged 101 commits into
conda:masterfrom
nehaljwani:cross_conda_interface_master_merge
Oct 31, 2017
Merged

mingwandroid merged 101 commits into
conda:masterfrom
nehaljwani:cross_conda_interface_master_merge

Conversation

@nehaljwani

@nehaljwani nehaljwani commented Oct 31, 2017 •

Copy link
Copy Markdown
Contributor

Merging cross_conda_interface into master

DON'T merge this just yet!

mbargull and others added 30 commits October 31, 2017 23:03
The dry run option, --dry-run, invokes the solver but stop execution prior to
fetching the packages.  No installer is created.
Add the --use-conda argument which uses the conda package rather than libconda
to fetch the channel indexes and solve the package specification.  This allows
channels to be priorities in the constructor.yaml file.
Building an installer for a non-native platform using the --platform
option now works with the --use-conda option.
This makes the installation procedure compatible with systems that use
Busybox (integrated ash shell, tar from Busybox) and also for people who
use dash instead of bash.
Also fix nearly all shellchecker portability issues.
* Compatibility with conda using the conda_interface pattern
  followed by conda-build.
* Use of relative imports rather than absolute imports.
This patch enables creation of hardlinks for files
inside the root env to the files inside the package
cache directory, using the option: `use_hardlinks`
The default value for this option is False, for
maintaining compatibility with the old behaviour.
nehaljwani and others added 20 commits October 31, 2017 23:18
In case of py2/py3 installers, __NAME__ generally ends in 2 or 3. Till
this is parameterized correctly to drop the number in the tag line,
hard code 'Anaconda'
Some Linux distributions don't have the utility 'more' available in
their minimal installations. This causes the license to not show up.

This patch fixes https://github.com/ContinuumIO/anaconda/issues/1066
by falling back to `cat` if `more` isn't available.

`command` is chosen over `hash/type/which` for POSIX compatibility.
https://stackoverflow.com/q/592620/1005215
This is required as some Windows machines might block execution of
pythonw.exe from %TEMP%
Right now, the nsis installer computes the size of the installation based
totally on the contents of the installer. Ideally, it should also take
into consideration the size of the unpacked tarballs.
Often we depend on a package which is not available on any public
channel yet, but for the purposes of testing them we might want to
create an installer which has those packages and make it appear as if
they were available on the public channel. This patch adds the option:
channels_remap which allows one to specify channel (src, dst) pairs,
where:
    - src is also considered while running the solver
    - src is replaced with dst while writing urls{,.txt}
@nehaljwani

Copy link
Copy Markdown
Contributor Author

Okay, this is ready.

@mingwandroid Shall we merge this and then cut a release?

@mingwandroid

Copy link
Copy Markdown
Contributor

Yes, merging now.

@mingwandroid
mingwandroid merged commit 22abc42 into conda:master Oct 31, 2017
Comment thread constructor/osxpkg.py Outdated
enable_localSystem='true'
else:
enable_anywhere='true'
enable_localSystem='false'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please help me understand why this was configured this way?

@github-actions

Copy link
Copy Markdown

Hi there, thank you for your contribution!

This pull request has been automatically locked because it has not had recent activity after being closed.

Please open a new issue or pull request if needed.

Thanks!

@github-actions github-actions Bot added the locked [bot] locked due to inactivity label Mar 19, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked [bot] locked due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants