Consolidate mx s* commands

Aperta
#24 12 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@gilles-duboscq ci sta già lavorando.

Dal 25/2/2016.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Based on Roland's suggestion we should simplify mx version conflict resolution: Allow solving conflicts only by defining a specific version in the primary suite. This way, dependencies still get transitively resolved but conflicts can only be resolved by defining an exact revision for the conflicting dependency on primary suite level.

In addition to that we should remove all s* commands from mx, except for the bare minimum we require. Below a list of commands that should remain (but probably under a better name):

List of mx dependency handling commands
Current command Notes
mx sforceimports We need some command that allows us to get our project dependencies (transitively) in sync with the current definitions in suite.py (right after initial cloning of the primary suite but also after pulling or after local changes to suite.py). Renaming this command to mx dependencies --update might be a good idea.
mx scheckimports A command that tells us if we are currently in sync with the current definitions in suite.py files. Renaming this command to mx dependencies --check might be a good idea.
mx scloneimports --manual This is needed by buildbot to get a list of the direct (non-transitive) dependencies of a suite. Renaming this command to mx dependencies --list might be a good idea.

(Please add to that list if some version control specific command we need is missing)

Lingua principale
Python
Stelle
205
Fork
131
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di graalvm/mx

Tutte le issue di graalvm/mx

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.