Skip to content

Allow to specify the name of requirements.txt file #33

@kirsanium

Description

@kirsanium
Contributor

При генерации кода в гитхаб экшнс затираются мои зависимости (например, я добавил pytz)

Activity

self-assigned this
on Nov 7, 2022
added this to the 0.0.3 milestone on Nov 7, 2022
php-coder

php-coder commented on Nov 7, 2022

@php-coder
Owner

@kirsanium The default behavior has been changed to not overwrite files by default. In order to overwrite them, the new --overwrite option has been introduced.

php-coder

php-coder commented on Nov 13, 2022

@php-coder
Owner

--overwrite option has been removed as it doesn't solve the issue properly:

  1. when we have a generated app and we modified only one file (for example, requirements.txt), using --overwrite option lead us to the situation when no files generated at all. So, in fact, modification of one file exclude the application completely from auto generation
  2. the case when we want to have custom modifications to requirements.txt was still not addressed.

One way to solve this, was proposed by @kirsanium where we tell query2app to create requirements.txt with another name and include it from user managed requirements.txt with (-r option).

changed the title [-]Предоставить возможность изменять имя `requirements.txt`[/-] [+][python] Allow to specify the name of requirements.txt file[/+] on Jun 9, 2023
changed the title [-][python] Allow to specify the name of requirements.txt file[/-] [+]Allow to specify the name of requirements.txt file[/+] on Mar 13, 2024
removed this from the 0.0.3 milestone on Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @php-coder@kirsanium

      Issue actions

        Allow to specify the name of requirements.txt file · Issue #33 · php-coder/query2app