-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$mol_build added MAM_NO_PULL, back init existing not-git directory #736
Conversation
build/ensure/git/git.ts
Outdated
protected override init_existing(dir: string) { | ||
// Если вручную склонить ревизию hyoo/mol перед запуском билда, | ||
// то hyoo надо проинициалзировать в соответствии с meta.ree | ||
const repo = this.repo(dir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я каждый раз спотыкаюсь. Что такое repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url + branch репозитория взятый из meta.tre
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Из названия это не понятно.
build/ensure/vcs/vcs.ts
Outdated
@@ -68,8 +68,14 @@ namespace $ { | |||
} | |||
} | |||
|
|||
protected no_pull() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лучше использоваться позитивную логику вместо негативной, чтобы потом не ломать голову о двойное отрицание.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
переназвал pull_disable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enabled..
build/ensure/vcs/vcs.ts
Outdated
@ $mol_mem_key | ||
ensure( path : string ) { | ||
if (this.no_pull()) return false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я правильно понимаю, что все включение этой опции отключит не только обновление, но и установку отсутствующих зависимостей?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
переделал, что б clone остался, если репы нет
No description provided.