Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
sistemas:suap:tags:ifrnmaster16062017 [2017/06/19 16:13] Antonio Rodrigo dos Santos Silva [Passo 5] |
sistemas:suap:tags:ifrnmaster16062017 [2021/08/25 10:33] |
||
---|---|---|---|
Linha 1: | Linha 1: | ||
- | ====== Atualização para IFRN/17.2 - 06/2017 ====== | ||
- | |||
- | Dados gerais | ||
- | |||
- | ^ ^ ^ | ||
- | |Branch Criada no IFCE|%%atualizacao_ifrn_05_2017 %%| | ||
- | |Tag Base do IFRN |master| | ||
- | |Data de início da atualização|05/ | ||
- | |Tag criada|ifce2017_05_1| | ||
- | |||
- | Pacotes (/ | ||
- | |||
- | ===== Passo 1 ===== | ||
- | |||
- | Comandos iniciais | ||
- | |||
- | <WRAP prewrap> | ||
- | < | ||
- | git checkout -b atualizacao_ifrn_06_2017 | ||
- | git remote add suapifrn http:// | ||
- | </ | ||
- | </ | ||
- | |||
- | ----------------------- | ||
- | |||
- | ===== Passo 2 ===== | ||
- | |||
- | Baixar as atualizações do IFRN | ||
- | |||
- | < | ||
- | git fetch suapifrn | ||
- | </ | ||
- | |||
- | Username for ' | ||
- | Password for ' | ||
- | |||
- | Git fetch | ||
- | |||
- | <WRAP prewrap> | ||
- | < | ||
- | From http:// | ||
- | | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | | ||
- | * [new branch] | ||
- | | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | | ||
- | | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | | ||
- | | ||
- | | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | | ||
- | * [new branch] | ||
- | | ||
- | * [new branch] | ||
- | | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new branch] | ||
- | * [new tag] | ||
- | </ | ||
- | </ | ||
- | |||
- | |||
- | ===== Passo 3 ===== | ||
- | |||
- | Fazer o merge da tag " | ||
- | |||
- | < | ||
- | git merge 17.2 | ||
- | </ | ||
- | |||
- | Saída: | ||
- | |||
- | <WRAP prewrap> | ||
- | < | ||
- | CONFLICT (rename/ | ||
- | Adding as documento_eletronico/ | ||
- | Auto-merging suap/ | ||
- | CONFLICT (content): Merge conflict in suap/ | ||
- | Auto-merging suap/ | ||
- | CONFLICT (content): Merge conflict in suap/ | ||
- | Auto-merging suap/ | ||
- | CONFLICT (content): Merge conflict in suap/ | ||
- | Auto-merging rh/views.py | ||
- | Auto-merging rh/urls.py | ||
- | CONFLICT (content): Merge conflict in rh/urls.py | ||
- | Auto-merging rh/ | ||
- | Auto-merging rh/ | ||
- | Auto-merging rh/ | ||
- | Auto-merging rh/forms.py | ||
- | CONFLICT (content): Merge conflict in rh/forms.py | ||
- | Auto-merging rh/ | ||
- | Auto-merging rh/admin.py | ||
- | CONFLICT (content): Merge conflict in rh/admin.py | ||
- | Auto-merging protocolo/ | ||
- | Auto-merging protocolo/ | ||
- | CONFLICT (content): Merge conflict in protocolo/ | ||
- | Auto-merging protocolo/ | ||
- | Auto-merging protocolo/ | ||
- | Auto-merging projetos/ | ||
- | Auto-merging projetos/ | ||
- | Auto-merging processo_eletronico/ | ||
- | CONFLICT (content): Merge conflict in processo_eletronico/ | ||
- | Auto-merging processo_eletronico/ | ||
- | Removing processo_eletronico/ | ||
- | Auto-merging processo_eletronico/ | ||
- | Auto-merging ponto/ | ||
- | Auto-merging ponto/ | ||
- | Auto-merging ponto/ | ||
- | Auto-merging planejamento/ | ||
- | CONFLICT (content): Merge conflict in planejamento/ | ||
- | Auto-merging planejamento/ | ||
- | Auto-merging planejamento/ | ||
- | Auto-merging planejamento/ | ||
- | Auto-merging planejamento/ | ||
- | Auto-merging planejamento/ | ||
- | Auto-merging planejamento/ | ||
- | CONFLICT (content): Merge conflict in planejamento/ | ||
- | Auto-merging patrimonio/ | ||
- | Auto-merging patrimonio/ | ||
- | Auto-merging patrimonio/ | ||
- | Auto-merging patrimonio/ | ||
- | Auto-merging patrimonio/ | ||
- | CONFLICT (content): Merge conflict in patrimonio/ | ||
- | Auto-merging ldap_backend/ | ||
- | Auto-merging ldap_backend/ | ||
- | CONFLICT (content): Merge conflict in ldap_backend/ | ||
- | Auto-merging frota/ | ||
- | Auto-merging frota/ | ||
- | Auto-merging frota/ | ||
- | Auto-merging frota/ | ||
- | Auto-merging estagios/ | ||
- | Auto-merging estagios/ | ||
- | Auto-merging documento_eletronico/ | ||
- | CONFLICT (content): Merge conflict in documento_eletronico/ | ||
- | Removing documento_eletronico/ | ||
- | Removing documento_eletronico/ | ||
- | Removing documento_eletronico/ | ||
- | Removing documento_eletronico/ | ||
- | Auto-merging documento_eletronico/ | ||
- | Auto-merging documento_eletronico/ | ||
- | CONFLICT (content): Merge conflict in documento_eletronico/ | ||
- | Auto-merging documento_eletronico/ | ||
- | Auto-merging documento_eletronico/ | ||
- | Auto-merging djtools/ | ||
- | Auto-merging djtools/ | ||
- | Removing djtools/ | ||
- | Auto-merging djtools/ | ||
- | Auto-merging djtools/ | ||
- | Auto-merging deploy/ | ||
- | CONFLICT (content): Merge conflict in deploy/ | ||
- | Auto-merging contratos/ | ||
- | Auto-merging contratos/ | ||
- | CONFLICT (content): Merge conflict in contratos/ | ||
- | Auto-merging comum/ | ||
- | CONFLICT (content): Merge conflict in comum/ | ||
- | Auto-merging comum/ | ||
- | Auto-merging comum/ | ||
- | Auto-merging comum/ | ||
- | CONFLICT (content): Merge conflict in comum/ | ||
- | Auto-merging comum/ | ||
- | Auto-merging comum/ | ||
- | Auto-merging comum/ | ||
- | Auto-merging comum/ | ||
- | CONFLICT (content): Merge conflict in comum/ | ||
- | Auto-merging comum/ | ||
- | CONFLICT (content): Merge conflict in comum/ | ||
- | Auto-merging chaves/ | ||
- | Auto-merging centralservicos/ | ||
- | CONFLICT (content): Merge conflict in centralservicos/ | ||
- | Auto-merging centralservicos/ | ||
- | Auto-merging centralservicos/ | ||
- | CONFLICT (content): Merge conflict in centralservicos/ | ||
- | Auto-merging centralservicos/ | ||
- | Auto-merging centralservicos/ | ||
- | Auto-merging centralservicos/ | ||
- | Auto-merging almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | CONFLICT (content): Merge conflict in almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | CONFLICT (content): Merge conflict in almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | CONFLICT (content): Merge conflict in almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | CONFLICT (content): Merge conflict in almoxarifado/ | ||
- | Auto-merging almoxarifado/ | ||
- | Auto-merging ae/ | ||
- | CONFLICT (content): Merge conflict in ae/ | ||
- | Auto-merging ae/views.py | ||
- | CONFLICT (content): Merge conflict in ae/views.py | ||
- | Auto-merging .gitignore | ||
- | Automatic merge failed; fix conflicts and then commit the result. | ||
- | </ | ||
- | </ | ||
- | |||
- | ----------------------- | ||
- | |||
- | ===== Passo 4 ===== | ||
- | |||
- | Rodar o sync | ||
- | |||
- | < | ||
- | < | ||
- | CommandError: | ||
- | To fix them run ' | ||
- | </ | ||
- | </ | ||
- | |||
- | Foi resolvido com: | ||
- | |||
- | < | ||
- | < | ||
- | delete from django_migrations where app = ' | ||
- | delete from django_migrations where app = ' | ||
- | delete from django_migrations where app = ' | ||
- | delete from django_migrations where app = ' | ||
- | delete from django_migrations where app = ' | ||
- | delete from django_migrations where app = ' | ||
- | delete from django_migrations where app = ' | ||
- | delete from django_migrations where app = ' | ||
- | delete from django_migrations where app = ' | ||
- | |||
- | truncate processo_eletronico_processo_classificacoes, | ||
- | |||
- | drop table processo_eletronico_processo_classificacoes, | ||
- | |||
- | drop table documento_eletronico_cabecalhorodapecampus, | ||
- | |||
- | drop table processo_eletronico_anexacao, | ||
- | |||
- | drop table processo_eletronico_historicoprocesso, | ||
- | |||
- | </ | ||
- | </ | ||
- | |||
- | E depois: | ||
- | |||
- | < | ||
- | < | ||
- | python manage.py sync | ||
- | </ | ||
- | </ | ||
- | |||
- | Saída do sync: | ||
- | |||
- | < | ||
- | < | ||
- | Running migrations: | ||
- | Rendering model states... DONE | ||
- | Applying rh.0042_afastamentosiape_interrompe_tempo_servico... OK | ||
- | Applying rh.0043_popular_afastamentosiape_interrompe_tempo_servico...Populando atributo " | ||
- | OK | ||
- | Applying acumulocargo.0001_initial... OK | ||
- | Applying ae.0037_auto_20161111_0955... OK | ||
- | Applying cnpq.0022_parametro... OK | ||
- | Applying cnpq.0023_auto_20161104_1730_popular_parametro...Installed 629 object(s) from 15 fixture(s) | ||
- | OK | ||
- | Applying demandas.0007_auto_20161202_1004... OK | ||
- | Applying demandas.0008_auto_20161202_1603... OK | ||
- | Applying demandas.0009_auto_20161206_1056... OK | ||
- | Applying demandas.0010_anexos... OK | ||
- | Applying demandas.0011_auto_20161207_1535... OK | ||
- | Applying demandas.0012_auto_20161212_1051... OK | ||
- | Applying demandas.0013_auto_20161213_1116... OK | ||
- | Applying demandas.0014_auto_20161213_1118... OK | ||
- | Applying demandas.0015_auto_20161213_1140... OK | ||
- | Applying demandas.0016_auto_20161213_1141... OK | ||
- | Applying demandas.0017_auto_20161213_1143... OK | ||
- | Applying demandas.0018_auto_20161219_1340... OK | ||
- | Applying demandas.0019_remove_demanda_demanda_consolidada... OK | ||
- | Applying demandas.0020_notainterna... OK | ||
- | Applying edu.0149_auto_20161117_1051... OK | ||
- | Applying edu.0150_auto_20161117_1054... OK | ||
- | Applying edu.0144_auto_20161025_1610... OK | ||
- | Applying edu.0149_merge... OK | ||
- | Applying edu.0151_merge... OK | ||
- | Applying edu.0152_auto_20161212_0749... OK | ||
- | Applying edu.0153_componentecurricular_segundo_semestre... OK | ||
- | Applying edu.0154_auto_20170102_1309... OK | ||
- | Applying estagios.0016_auto_20161202_1545... OK | ||
- | Applying estagios.0017_auto_20161229_1319... OK | ||
- | Applying etep.0001_initial... OK | ||
- | Applying patrimonio.0025_config_data_depreciacao... OK | ||
- | Applying patrimonio.0027_merge... OK | ||
- | Applying pesquisa.0024_auto_20161104_1739_atualiza_parametro_edital... OK | ||
- | Applying pesquisa.0025_auto_20161104_1745... OK | ||
- | Applying pesquisa.0026_edital_ch_semanal_coordenador... OK | ||
- | Applying plan_v2.0028_auto_20161223_0734... OK | ||
- | Applying ponto.0007_observacao_data_cadastro... OK | ||
- | Applying projetos.0062_auto_20161116_1522... OK | ||
- | Applying projetos.0063_auto_20161117_1139... OK | ||
- | Applying rh.0044_pessoajuridica_nome_fantasia... OK | ||
- | Applying saude.0031_auto_20161125_0936... OK | ||
- | </ | ||
- | </ | ||
- | |||