Thanks, that helps a lot!

I'll check how to best deploy it on my environment then I reply some results ;-)



----- Mensagem original -----
De: "Dwayne Bailey" <[email protected]>
Para: "Fernando Pereira Silveira" <[email protected]>
Cc: "sujan karanjeet" <[email protected]>, "translate-pootle" 
<[email protected]>
Enviadas: Segunda-feira, 13 de abril de 2015 11:54:12
Assunto: Re: [translate-pootle] VCS options not showing up


On 13 April 2015 at 12:35, Fernando Pereira Silveira < [email protected] > 
wrote: 


Sujan and Dwayne, thanks for your replies! 

Good news! I'm glad VCS support is being reviewed! 
In that case I would like more information on how can I automate the VCS 
process. I can see the hook 'pretemplateupdate' fits perfectly for 
checkout/update from VCS. Any other suggestions? 




Don't look at hook, before you know it they'll be gone. 

I do something like this: 

# Saving translations 
get changeid 
for each lang since last changeid 

BQ_BEGIN

vcs pull 

BQ_END

BQ_BEGIN

sync_store 

BQ_END

BQ_BEGIN

vcs commit 

BQ_END
store changid 
# updating templates 
get changeid 
update vcs 
sync_all_languages 
create templates 
update each lang against templates 
update_stores for all langs 

I trust the psuedo code helps 

BQ_BEGIN



----- Mensagem original ----- 
De: "Dwayne Bailey" < [email protected] > 
Para: "sujan karanjeet" < [email protected] > 
Cc: "Fernando Pereira Silveira" < [email protected] >, "translate-pootle" < 
[email protected] > 
Enviadas: Sábado, 11 de abril de 2015 7:37:30 
Assunto: Re: [translate-pootle] VCS options not showing up 

Hi Fernando, 
Sujan is mostly right. The VCS stuff is still in 2.5.1.1 and your setup looks 
like its correct. You might need to give yourself VCS permissions. 

In terms of the way forward. We've dropped VCS from the next release. I'm also 
using external scripts as I have more control. We believe there is a better way 
to do VCS and we're slowly building the feature back now that we've learnt a 
lot from our previous support. Our rework on import/export will slowly grow to 
allow us to bring back VCS in a reliable, non-destructive way that much less of 
a PITA to maintain then our 2.5.* era code. 

If you need some help with automatic I'm sure myself, Sujan or others can help. 


On 11 April 2015 at 09:56, sujan karanjeet < [email protected] > wrote: 


Hi Fernando, 

The VCS feature was a total mess and I guess they've removed it for now. 
The documentations were also removed sometime ago. I've used my own scripts 
to synchronize the translations with the repo. 

Cheers, 
Sujan 


On Fri, Apr 10, 2015 at 11:50 PM, Fernando Pereira Silveira < 
[email protected] > wrote: 

> Hi there! 
> 
> I'm new to this mailing list and need help using pootle 2.5.1.1. 
> 
> I've set my git repository to pootle/repos/<project_name> and copied it to 
> pootle/po; 
> I created my project with same name using pootle admin GUI; pootle found 
> my translations but doesn't show VCS options on language pages; 
> I'm admin, so it should show them, right? 
> 
> -- 
> Fernando 
> 
> 
> ------------------------------------------------------------------------------
>  
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT 
> Develop your own process in accordance with the BPMN 2 standard 
> Learn Process modeling best practices with Bonita BPM through live 
> exercises 
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- 
> event?utm_ 
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF 
> _______________________________________________ 
> Translate-pootle mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/translate-pootle 
> 



-- 
Regards, 
---------------------- 
Sujan Karanjeet 
------------------------------------------------------------------------------ 
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT 
Develop your own process in accordance with the BPMN 2 standard 
Learn Process modeling best practices with Bonita BPM through live exercises 
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ 
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF 
_______________________________________________ 
Translate-pootle mailing list 
[email protected] 
https://lists.sourceforge.net/lists/listinfo/translate-pootle 






-- 
Dwayne 

Translate 
+27 12 460 1095 (work) 


BQ_END




-- 
Dwayne 

Translate 
+27 12 460 1095 (work) 


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to