![]() To update original files and their translations together. Smart_ is a script designed to make it easier It creates a template for your language, including the correct If you do a new translation of a file, please use the script. Translation-check header to match the Git commit hash of theĬorresponding change in the English file. If you change translated files, you need to update the The translation-check header in translationįiles is used to track which version of English file the current Translations should always be kept to be up-to-date with itsĬorresponding English file. HTTPS or use certificates signed only by SPI. The Debian/DebConf/SPI websites that are known to either not support The Git repository will reject commits containing plain HTTP linksįor Debian websites that support HTTPS or containing HTTPS links for ToĪvoid causing error messages for non-Debian users, please do not link Or only use the SPI CA (and not an SSL CA trusted by all browsers). Many Debian websites support SSL/TLS, so please use HTTPS links whereĭebian/DebConf/SPI/etc websites either don't have have HTTPS support If you include Closes: # nnnnnn in your commit logĮntry, then bug number # nnnnnn will be closedĪutomatically when you push your changes. Git Documentation Closing Debian Bugs in Git Commits Submit your changes with a merge request or contact other developers for help. If you do not have direct write access to the webwml repository,.May now push your changes directly onto the Salsa repo: git push If you have unlimited write access to the remote webwml repository, you.When you are done, commit your changes to your local repository:.Now you can start editing and make changes to the files.We're assuming that you have obtained a local copy of the repo Let's look at a more practical example and a typical editing session. To share them with others, you willĪlso need to push your changes to the central repository on Salsa. This means that when you commit changes, they will only be Note: Git is a distributed (not centralised) version control Unfinished work in another branch or using commands like git stash. Merge commits or even fail due to conflicts. Repository on the current branch, running git pull will automatically create If you have uncommitted changes or local commits that are not present in the remote It is strongly recommended to keep your local Git working directory cleanīefore performing git pull and starting to edit some files. To retrieve any files from the repository which have changed. Submit local Changes Keep your local Repo up-to-dateĮvery few days (and definitely before starting some editing work!) Finally, you can check out the repo: git checkout.If you only want to retrieve the base files, English, Catalan, and Spanish translations, git/info/sparse-checkout inside the webwmlĭirectory to define the content you want to check out. You can also check out only a subset of the pages: Git fetch -unshallow # fetch all missing commits, convert the repo to a complete one Git fetch -deepen=1000 # deepen the repo for another 1000 commits Local copy and eventually convert it to a full local Therefore, it's possible to defineĪ minimum depth for a smaller initial download:Īfter obtaining a usable (shallow) repository, you can deepen the ![]() Tip: Cloning the entire webwml repository requires downloading aboutġ.3 GB of data which might be too much if you're on a slow or ![]() This will create the local repository, but you won'tīe able to directly push changes back this way: Webwml repository using the following command:Ĭlone the repository using the HTTPS protocol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |