Completed translation of index.haml to Italian

This commit is contained in:
roalz 2016-05-11 12:09:59 +02:00
parent e6937c1bc6
commit 118c05b184

View File

@ -1,7 +1,7 @@
--- ---
description: Keep a Changelog description: Keep a Changelog
title: Keep a Changelog title: Keep a Changelog
language: it language: it-IT
--- ---
:markdown :markdown
@ -10,160 +10,158 @@ language: it
## Non lasciate che i vostri amici copino e incollino i git log nei CHANGELOG ™ ## Non lasciate che i vostri amici copino e incollino i git log nei CHANGELOG ™
### Cos'è un change log? ### Cos'è un change log?
Un change log è un file che contiene una lista curata e ordinata cronologicamente delle modifiche degne di nota per ogni versione di un progetto. Un change log è un file che contiene una lista curata e ordinata cronologicamente
delle modifiche degne di nota per ogni versione di un progetto.
%pre.changelog= File.read(File.expand_path("../../CHANGELOG.md", __FILE__)) %pre.changelog= File.read(File.expand_path("../../CHANGELOG.md", __FILE__))
:markdown :markdown
### A cosa serve un change log? ### A cosa serve un change log?
Per rendere facile agli utilizzatori e contributors vedere con precisione quali modifiche Per rendere facile agli utilizzatori e contribuenti vedere con precisione quali modifiche
importanti sono state fatte tra ogni release (o versione) del progetto importanti sono state fatte tra ogni release (o versione) del progetto.
### Why should I care? ### Perché dovrebbe importarmi?
Because software tools are for people. If you dont care, why are Perché gli strumenti software sono fatti per le persone.
you contributing to open source? Surely, there must be a kernel (ha!) Se non ti importa, perché contribuisci all'open source?
of care somewhere in that lovely little brain of yours. Di certo ci deve essere un "kernel" (ha!) di interesse
da qualche parte in quel tuo amorevole cervello.
I [talked with Adam Stacoviak and Jerod Santo on The Changelog][thechangelog] [Nel podcast "The Changelog" con Adam Stacoviak e Jerod Santo][thechangelog]
(fitting, right?) podcast about why maintainers and (titolo appropriato, vero?) ho parlato del perché maintainer e contribuenti
contributors should care, and the motivations behind this project. dovrebbero esserne interessati, e delle motivazioni dietro a questo progetto.
If you can spare the time (1:06), its a good listen. Se avete tempo (1:06), vale la pena ascoltarlo.
### What makes a good change log? ### Come si può fare un buon change log?
Im glad you asked. Sono contento che tu l'abbia chiesto.
Un buon change log si attiene ai seguenti principi: Un buon change log è guidato dai seguenti principi:
- Its made for humans, not machines, so legibility is crucial. - È fatto per umani, non macchine, quindi la leggibilità è cruciale.
- Easy to link to any section (hence Markdown over plain text). - Facile da linkare ad altre sezioni (da cui il Markdown invece che testo normale).
- Una sotto-sezione per ogni versione. - Una sotto-sezione per ogni versione.
- Elenca le release in ordine cronologico inverso (quelle più recenti all'inizio). - Elenca le release in ordine cronologico inverso (quelle più recenti all'inizio).
- Scrive tutte le date nel formato `YYYY-MM-DD`. (Esempio: `2012-06-02` sta per `2 Giugno 2012`). è internazionale, [sensible](http://xkcd.com/1179/), e indipendente dalla lingua. - Scrive tutte le date nel formato `YYYY-MM-DD`. (Esempio: `2012-06-02` sta per `2 Giugno 2012`). È internazionale, [sensato](http://xkcd.com/1179/), e indipendente dalla lingua.
- Explicitly mention whether the project follows [Semantic Versioning][semver]. - Dichiara esplicitamente se il progetto segue il [Semantic Versioning][semver].
- Ogni versione dovrebbe: - Ogni versione dovrebbe:
- Elencare la sua data di rilascio nel formato specificato sopra. - Elencare la sua data di rilascio nel formato sopra specificato.
- Group changes to describe their impact on the project, as follows: - Raggruppare le modifiche per descrivere il loro impatto sul progetto, come segue:
- `Added` for new features. - `Added` per le nuove funzionalità.
- `Changed` for changes in existing functionality. - `Changed` per le modifiche a funzionalità esistenti.
- `Deprecated` for once-stable features removed in upcoming releases. - `Deprecated` per vecchie feature stabili che verranno rimosse nelle future release.
- `Removed` for deprecated features removed in this release. - `Removed` per funzionalità precedentemente deprecate rimosse in questa release.
- `Fixed` for any bug fixes. - `Fixed` per tutti i bug fix.
- `Security` to invite users to upgrade in case of vulnerabilities. - `Security` per invitare gli utilizzatori ad aggiornare in caso di vulnerabilità.
### Come posso minimizzare lo sforzo richiesto? ### Come posso minimizzare lo sforzo richiesto?
Usa sempre una sezione `"Unreleased"` all'inizio per tenere traccia di qualsiasi modifica. Usa sempre una sezione `"Unreleased"` all'inizio per tenere traccia di qualsiasi modifica.
Questo serve per due scopi: Questo serve per due scopi:
- People can see what changes they might expect in upcoming releases - La gente può vedere quali modifiche si può aspettare in future release
- At release time, you just have to change `"Unreleased"` to the version number - Ad una nuova release, si deve solo sostituire `"Unreleased"` con il numero di versione
and add a new `"Unreleased"` header at the top. e aggiungere una nuova sezione `"Unreleased"` all'inizio.
### What makes unicorns cry? ### Cosa fa piangere gli unicorni?
Alright…lets get into it. Bene...vediamo un po'.
- **Dumping a diff of commit logs.** Just dont do that, youre helping nobody. - **Copia&incolla un diff di commig log.** Non fatelo, così non aiutate nessuno.
- **Not emphasizing deprecations.** When people upgrade from one version to - **Non enfatizzare le funzioni deprecate.** Quando le persone aggiornano da una versione ad un'altra,
another, it should be painfully clear when something will break. dovrebbe essere dolorosamente chiaro quando qualcosa si romperà.
- **Dates in region-specific formats.** In the U.S., people put the month first - **Date in formati specifici per regione.** Negli Stati Uniti si mette prima il mese nelle date
("06-02-2012" for June 2nd, 2012, which makes *no* sense), while many people ("06-02-2012" sta per 2 Giugno 2012, che non ha senso), mentre molte persone
in the rest of the world write a robotic-looking "2 June 2012", yet pronounce nel resto del mondo scrivono un robotico "2 June 2012", ma lo pronunciano diversamente.
it differently. "2012-06-02" works logically from largest to smallest, doesn't "2012-06-02" funziona con la logica dal più grande al più piccolo, non ha sovrapposizioni
overlap in ambiguous ways with other date formats, and is an ambigue con altri formati di date, ed è uno [standard ISO](http://www.iso.org/iso/home/standards/iso8601.htm).
[ISO standard](http://www.iso.org/iso/home/standards/iso8601.htm). Thus, it Per tutti questi motivi, è il formato di date raccomandato per i change log.
is the recommended date format for change logs.
Theres more. Help me collect those unicorn tears by C'è di più. Aiutatemi a collezionare queste "lacrime di unicorno" [aprendo una "issue"][issues]
[opening an issue][issues] o una pull request.
or a pull request.
### Is there a standard change log format? ### Esiste un formato standard per i change log?
Sadly, no. Calm down. I know you're furiously rushing to find that link Purtroppo no. Calma. So che state furiosamente correndo a cercare quel link
to the GNU change log style guide, or the two-paragraph GNU NEWS file alla guida di stile per i change log GNU, o alle linee guida per or il file a due paragrafi GNU NEWS.
"guideline". The GNU style guide is a nice start but it is sadly naive. La guida GNU è un buon punto di partenza, ma è tristemente ingenuo.
There's nothing wrong with being naive but when people need Non c'è nulla di male nell'essere ingenuo, ma quando le persone cercano una guida, questa caratteristica
guidance it's rarely very helpful. Especially when there are many è raramente d'aiuto. Specialmente se ci sono molte situazioni e casi limite da gestire.
situations and edge cases to deal with.
This project [contains what I hope will become a better CHANGELOG file convention][CHANGELOG]. Questo progetto [contiene ciò che spero diventerà una migliore convenzione per i file CHANGELOG][CHANGELOG].
I don't think the status quo is good enough, and I think that as a community we Non credo che lo status quo sia sufficientemente buono, e penso che noi, come comunità,
can come up with better conventions if we try to extract good practices from possiamo arrivare a convenzioni migliori se tentiamo di estrarre le pratiche migliori
real software projects. Please take a look around and remember that da progetti software reali. Vi consiglio di guardarvi intorno e ricordare che
[discussions and suggestions for improvements are welcome][issues]! [ogni discussione e suggerimento per migliorare sono sempre benvenuti][issues]!
### What should the change log file be named? ### Come si dovrebbe chiamare il file contenente il change log?
Well, if you cant tell from the example above, `CHANGELOG.md` is the Se non l'avete dedotto dall'esempio qui sopra, `CHANGELOG.md` è la convenzione migliore finora.
best convention so far.
Some projects also use `HISTORY.txt`, `HISTORY.md`, `History.md`, `NEWS.txt`, Alcuni progetti usano anche `HISTORY.txt`, `HISTORY.md`, `History.md`, `NEWS.txt`,
`NEWS.md`, `News.txt`, `RELEASES.txt`, `RELEASE.md`, `releases.md`, etc. `NEWS.md`, `News.txt`, `RELEASES.txt`, `RELEASE.md`, `releases.md`, etc.
Its a mess. All these names only makes it harder for people to find it. È un disastro. Tutti questi nomi contribuiscono solo a rendere più difficile trovarlo.
### Why cant people just use a `git log` diff? ### Perché la gente non si limita ad usare diff di `git log`?
Because log diffs are full of noise — by nature. They could not make a suitable Perché i log diff sono pieni di rumore, per loro natura. Non potrebbero creare un change log
change log even in a hypothetical project run by perfect humans who never make decente nemmeno in un ipotetico progetto gestito da perfetti umani che non fanno mai errori
typos, never forget to commit new files, never miss any part of a refactoring. di digitazione, non dimenticano mai di fare commit dei nuovi file, non dimenticano mai
The purpose of a commit is to document one atomic step in the process by which alcuna parte di un refactoring.
the code evolves from one state to another. The purpose of a change log is to Lo scopo di un commit è di documentare un passo atomico nel processo di evoluzione del codice
document the noteworthy differences between these states. da uno stato ad un altro. Lo scopo di un change log è di documentare le differenze
degne di nota tra questi stati.
As is the difference between good comments and the code itself, La differenza tra un change log e un commit log è
so is the difference between a change log and the commit log: come la differenza tra un buon commento nel codice e il codice stesso:
one describes the *why*, the other the how. uno descrive il *perché*, l'altro il come.
### Can change logs be automatically parsed? ### Si possono analizzare automaticamente i change log?
Its difficult, because people follow wildly different formats and file names. È difficile, perché le persone usano formati e nomi di file profondamente diversi.
[Vandamme][vandamme] is a Ruby gem [Vandamme][vandamme] è una Ruby gem
created by the [Gemnasium][gemnasium] team and which parses creata dal team [Gemnasium][gemnasium] ed è in grado di fare il parsing dei
many (but not all) open source project change logs. change log di molti (ma non tutti) i progetti open source.
### Why do you alternate between spelling it "CHANGELOG" and "change log"? ### Perché si alterna tra i nomi "CHANGELOG" e "change log"?
"CHANGELOG" is the name of the file itself. It's a bit shouty but it's a "CHANGELOG" è il nome del file. È un po' invadente ma è una
historical convention followed by many open source projects. Other convenzione storica seguita da molti progetti open source.
examples of similar files include [`README`][README], [`LICENSE`][LICENSE], Altri esempi di file simili includono [`README`][README], [`LICENSE`][LICENSE],
and [`CONTRIBUTING`][CONTRIBUTING]. e [`CONTRIBUTING`][CONTRIBUTING].
The uppercase naming (which in old operating systems made these files stick I nomi in maiuscolo (che su vecchi sistemi operativi erano ordinati per primi)
to the top) is used to draw attention to them. Since they're important vengono usati per attirare l'attenzione su di essi. Poiché sono metadati
metadata about the project, they could be useful to anyone intending to use importanti relativi al progetto, possono essere utili per chiunque voglia usarlo
or contribute to it, much like [open source project badges][shields]. o contribuire ad esso, un po' come i [badge dei progetti open source][shields].
When I refer to a "change log", I'm talking about the function of this Quando mi riferisco a un "change log", sto parlando della funzione di questo file:
file: to log changes. registrare le modifiche.
### What about yanked releases? ### Cosa sono le release "yanked"?
Yanked releases are versions that had to be pulled because of a serious Le release "yanked" sono versioni che sono state rimosse a causa di bug seri
bug or security issue. Often these versions don't even appear in change o problemi di sicurezza. Spesso queste versioni non appaiono nei change
logs. They should. This is how you should display them: log. Invece dovrebbero esserci, nel seguente modo:
`## 0.0.5 - 2014-12-13 [YANKED]` `## 0.0.5 - 2014-12-13 [YANKED]`
The `[YANKED]` tag is loud for a reason. It's important for people to L'etichetta `[YANKED]` è in maiuscolo per un motivo. È importante che la gente la noti.
notice it. Since it's surrounded by brackets it's also easier to parse Poiché è racchiusa tra parentesi quadre è anche più semplice da riconoscere nel parsing automatizzato.
programmatically.
### Should you ever rewrite a change log? ### Si dovrebbe mai modificare un change log?
Sure. There are always good reasons to improve a change log. I regularly open Certo. Ci sono sempre buoni motivi per migliorare un change log. Io apro regolarmente
pull requests to add missing releases to open source projects with unmaintained delle pull request per aggiungere release mancanti ai progetti open source che non mantengono
change logs. correttamente i change log.
It's also possible you may discover that you forgot to address a breaking change È anche possibile che si scopra di aver dimenticato di annotare una modifica
in the notes for a version. It's obviously important for you to update your non retro-compatibile nelle note per una versione. Ovviamente è importante aggiornare
change log in this case. il change log in questo caso.
### Come posso contribuire? ### Come posso contribuire?
Questo documento non e' la **verità**; its my carefully considered Questo documento non è la **verità assoluta**; è solo la mia attenta
opinion, along with information and examples I gathered. opinione, arricchita dalle informazioni ed esempi che ho raccolto.
Although I provide an actual [CHANGELOG][] on [the GitHub repo][gh], Anche se fornisco un [CHANGELOG][] reale sul [repository GitHub][gh],
I have purposefully not created a proper *release* or clear list of rules ho volutamente evitato di creare una *release* o una chiara lista di regole
to follow (as [SemVer.org][semver] does, for instance). da seguire (come fa, ad esempio, [SemVer.org][semver]).
This is because I want our community to reach a consensus. I believe the Questo è perché voglio che la nostra comunità raggiunga un consenso. Credo che
discussion is as important as the end result. la discussione sia importante almeno quanto il risultato finale.
So please [**pitch in**][gh]. Quindi per favore [**partecipate**][gh].
[CHANGELOG]: https://github.com/olivierlacan/keep-a-changelog/blob/master/CHANGELOG.md [CHANGELOG]: https://github.com/olivierlacan/keep-a-changelog/blob/master/CHANGELOG.md
[CONTRIBUTING]: https://github.com/olivierlacan/keep-a-changelog/blob/master/CONTRIBUTING.md [CONTRIBUTING]: https://github.com/olivierlacan/keep-a-changelog/blob/master/CONTRIBUTING.md