{"action":"created","comment":{"url":"https://api.github.com/repos/semver/semver.org/pulls/comments/214131330","pull_request_review_id":151120316,"id":214131330,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDEzMTMzMA==","diff_hunk":"@@ -0,0 +1,262 @@\n+---\n+title: Semantičko verzioniranje 2.0.0\n+language: hr\n+---\n+\n+Semantičko verzioniranje 2.0.0\n+==============================\n+\n+Sažetak\n+-------\n+\n+Uzevši oznake verzije VEĆA.MANJA.ZAKRPA, povećavajte:\n+\n+1. VEĆU verziju kada napravite inkompatibilne promjene u APIju,\n+1. MANJU verziju kada dodate unatrag-kompatibilne funkcionalnosti i\n+1. ZAKRPA verziju kada napravite unatrag-kompatibilne ispravke bugova.\n+\n+Dodatne oznake za pred-izdanja i metapodatke builda mogu se koristiti kao proširenje na VEĆA.MANJA.ZAKRPA format.\n+\n+Uvod\n+------------\n+\n+U svijetu upravljanja softverom postoji strašno mjesto koje zovemo\n+\"pakao ovisnosti.\" Što više vaš sustav raste i što više paketa\n+integrirate u vaš softver, vjerojatnije je da ćete se, jednoga dana,\n+naći u toj jami očaja.\n+\n+U sustavima s više ovisnosti, izdavanje novih verzija paketa, može se vrlo brzo\n+pretvoriti u noćnu moru. Ako su specifikacije ovisnosti previše stroge, postoji\n+opasnost zaključavanja verzije (nemogućnosti nadogradnje paketa bez potrebe\n+izdavanja nove verzije svakog ovisnog paketa). Ako su pak ovisnosti specificirane\n+previše slobodno, sigurno ćete osjetiti posljedice verzijskog promiskuiteta\n+(pretpostavke kompatibilnosti s više budućih verzija nego što je razumno).\n+Pakao ovisnosti je slučaj gdje zaključavanje verzije i/ili verzijski promiskuitet\n+sprječavaju lagano i sigurno napredovanje projekta.\n+\n+Kao rješenje tog problema predlažem jednostavan set pravila i zahtjeva\n+koji će nalagati kako se dodjeljuju i povećavaju oznake verzija.\n+Ova se pravila temelje, no nisu nužno i ograničena, na već postojećoj\n+i raširenoj uobičajenoj praksi u projektima otvorenog i zatvorenog koda.\n+Kako bi ovaj sustav funkcionirao, potrebno je prvo objaviti javni API. Možemo\n+to primijeniti u dokumentaciji ili u samom kodu. U svakom slučaju, važno je da\n+API bude jasan i precizan. Jednom kad identificiramo javni API, komuniciramo\n+promjene u njemu kroz specificirana povećanja u oznaci/broju verzije. Uzmimo\n+format verzije X.Y.Z (MANJA.VEĆA.ZAKRPA). Ispravci bugova koji ne utječu na API\n+povećavaju oznaku zakrpe, unatrag-kompatibilni dodaci/promjene u APIju\n+povećavaju manju verziju, a unatrag inkompatibilne promjene u APIju povećavaju\n+veću verziju.\n+\n+Ovaj sam sustav nazvao \"Semantičko verzioniranje\". Unutar ove sheme, oznake\n+verzije i način na koji se mijenjaju prenose određene informacije o kodu koji\n+se nalazi ispod i što se mijenjalo od jedne do druge verzije.\n+\n+\n+Specifikacija semantičkog verzioniranja (SemVer)\n+------------------------------------------\n+\n+Ključne riječi \"MORA\", \"NE SMIJE\", \"POTREBNO\", \"BITI ĆE\", \"NEĆE BITI\", \"TREBALO BI\",\n+\"NE BI TREBALO\", \"PREPORUČENO\", \"MOŽE\", i \"OPCIONALNO\" (\"MUST\", \"MUST NOT\",\n+\"REQUIRED\", \"SHALL\", \"SHALL NOT\", \"SHOULD\", \"SHOULD NOT\", \"RECOMMENDED\", \"MAY\",\n+\"OPTIONAL\") u ovom dokumentu treba interpretirati kao što je opisano u\n+[RFC 2119](http://tools.ietf.org/html/rfc2119).\n+\n+1. Softver koji koristi Semantičko verzioniranje MORA objaviti javni API. API\n+može biti deklariran u samom kodu ili postojati samo unutar dokumentacije.\n+U svakom slučaju, mora biti precizan i jasan.\n+\n+1. Normalna oznaka verzije MORA biti u formatu X.Y.Z gdje su X, Y i Z prirodni\n+(non-negative integer) brojevi i ne smiju počinjati s nulom. X označava\n+veću verziju, Y manju verziju, a Z zakrpu.\n+Svaki se element MORA numerički povećavati. Na primjer: 1.9.0 -> 1.10.0 -> 1.11.0.\n+\n+1. Jednom kad je verzionirani paket izdan, sadržaj te verzije NE SMIJE se\n+mijenjati. Sve promjene MORAJU se izdavati s novom verzijom.\n+\n+1. Veća verzija nula (0.y.z) je za inicijalni razvoj. Bilo što se može mijenjati\n+u tom stadiju. Javni API se ne smatra stabilnim.\n+\n+1. Verzija 1.0.0 definira javni API. Način na koji će se oznaka verzije mijenjati\n+ovisi o tom javnom APIju i načinu na koji se on mijenja.\n+\n+1. Oznaka verzije zakrpe Z (x.y.Z | x > 0) MORA se povećavati samo ako se dodaju\n+unatrag kompatibilni ispravci bugova. Ispravci bugova definiraju se kao promjene\n+unutar koda koje ispravljaju nepravilno ponašanje.\n+\n+1. Oznaka manje verzije Y (x.Y.z | x > 0) MORA se povećavati ako se javnom APIju\n+dodaju nove unatrag kompatibilne funkcionalnosti. Također se MORA povećavati\n+ako se neke funkcionalnosti označe kao zastarjele (deprecated). MOŽE se povećavati\n+ako se uvode značajne nove funkcionalnosti ili poboljšanja unutar koda.\n+MOŽE se povećavati ako se uvode promjene na razini zakrpe. Kada se oznaka manje\n+verzije poveća, oznaka verzije zakrpe mora se vratiti na 0.\n+\n+1. Oznaka veće verzije X (X.y.z | X > 0) MORA se povećavati ako se javnom APIju","path":"lang/hr/index.md","position":93,"original_position":93,"commit_id":"b223317db7e2c8ca0d67378e3863f81f9abef24b","original_commit_id":"b223317db7e2c8ca0d67378e3863f81f9abef24b","user":{"login":"sglumac","id":4962544,"node_id":"MDQ6VXNlcjQ5NjI1NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4962544?v=4","gravatar_id":"","url":"https://api.github.com/users/sglumac","html_url":"https://github.com/sglumac","followers_url":"https://api.github.com/users/sglumac/followers","following_url":"https://api.github.com/users/sglumac/following{/other_user}","gists_url":"https://api.github.com/users/sglumac/gists{/gist_id}","starred_url":"https://api.github.com/users/sglumac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglumac/subscriptions","organizations_url":"https://api.github.com/users/sglumac/orgs","repos_url":"https://api.github.com/users/sglumac/repos","events_url":"https://api.github.com/users/sglumac/events{/privacy}","received_events_url":"https://api.github.com/users/sglumac/received_events","type":"User","site_admin":false},"body":"As above..","created_at":"2018-08-30T18:16:04Z","updated_at":"2018-08-30T18:16:04Z","html_url":"https://github.com/semver/semver.org/pull/195#discussion_r214131330","pull_request_url":"https://api.github.com/repos/semver/semver.org/pulls/195","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/semver/semver.org/pulls/comments/214131330"},"html":{"href":"https://github.com/semver/semver.org/pull/195#discussion_r214131330"},"pull_request":{"href":"https://api.github.com/repos/semver/semver.org/pulls/195"}},"in_reply_to_id":213961906},"pull_request":{"url":"https://api.github.com/repos/semver/semver.org/pulls/195","id":211238866,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMjM4ODY2","html_url":"https://github.com/semver/semver.org/pull/195","diff_url":"https://github.com/semver/semver.org/pull/195.diff","patch_url":"https://github.com/semver/semver.org/pull/195.patch","issue_url":"https://api.github.com/repos/semver/semver.org/issues/195","number":195,"state":"open","locked":false,"title":"Add hr - Croatian spec","user":{"login":"porx","id":11664299,"node_id":"MDQ6VXNlcjExNjY0Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/11664299?v=4","gravatar_id":"","url":"https://api.github.com/users/porx","html_url":"https://github.com/porx","followers_url":"https://api.github.com/users/porx/followers","following_url":"https://api.github.com/users/porx/following{/other_user}","gists_url":"https://api.github.com/users/porx/gists{/gist_id}","starred_url":"https://api.github.com/users/porx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porx/subscriptions","organizations_url":"https://api.github.com/users/porx/orgs","repos_url":"https://api.github.com/users/porx/repos","events_url":"https://api.github.com/users/porx/events{/privacy}","received_events_url":"https://api.github.com/users/porx/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-27T21:36:45Z","updated_at":"2018-08-30T18:16:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b964d651291dcbf94486019d2637537ebe707a27","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/semver/semver.org/pulls/195/commits","review_comments_url":"https://api.github.com/repos/semver/semver.org/pulls/195/comments","review_comment_url":"https://api.github.com/repos/semver/semver.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/semver/semver.org/issues/195/comments","statuses_url":"https://api.github.com/repos/semver/semver.org/statuses/b223317db7e2c8ca0d67378e3863f81f9abef24b","head":{"label":"porx:gh-pages","ref":"gh-pages","sha":"b223317db7e2c8ca0d67378e3863f81f9abef24b","user":{"login":"porx","id":11664299,"node_id":"MDQ6VXNlcjExNjY0Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/11664299?v=4","gravatar_id":"","url":"https://api.github.com/users/porx","html_url":"https://github.com/porx","followers_url":"https://api.github.com/users/porx/followers","following_url":"https://api.github.com/users/porx/following{/other_user}","gists_url":"https://api.github.com/users/porx/gists{/gist_id}","starred_url":"https://api.github.com/users/porx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porx/subscriptions","organizations_url":"https://api.github.com/users/porx/orgs","repos_url":"https://api.github.com/users/porx/repos","events_url":"https://api.github.com/users/porx/events{/privacy}","received_events_url":"https://api.github.com/users/porx/received_events","type":"User","site_admin":false},"repo":{"id":145214415,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUyMTQ0MTU=","name":"semver.org","full_name":"porx/semver.org","owner":{"login":"porx","id":11664299,"node_id":"MDQ6VXNlcjExNjY0Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/11664299?v=4","gravatar_id":"","url":"https://api.github.com/users/porx","html_url":"https://github.com/porx","followers_url":"https://api.github.com/users/porx/followers","following_url":"https://api.github.com/users/porx/following{/other_user}","gists_url":"https://api.github.com/users/porx/gists{/gist_id}","starred_url":"https://api.github.com/users/porx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porx/subscriptions","organizations_url":"https://api.github.com/users/porx/orgs","repos_url":"https://api.github.com/users/porx/repos","events_url":"https://api.github.com/users/porx/events{/privacy}","received_events_url":"https://api.github.com/users/porx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/porx/semver.org","description":"Semantic Versioning spec and website","fork":true,"url":"https://api.github.com/repos/porx/semver.org","forks_url":"https://api.github.com/repos/porx/semver.org/forks","keys_url":"https://api.github.com/repos/porx/semver.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/porx/semver.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/porx/semver.org/teams","hooks_url":"https://api.github.com/repos/porx/semver.org/hooks","issue_events_url":"https://api.github.com/repos/porx/semver.org/issues/events{/number}","events_url":"https://api.github.com/repos/porx/semver.org/events","assignees_url":"https://api.github.com/repos/porx/semver.org/assignees{/user}","branches_url":"https://api.github.com/repos/porx/semver.org/branches{/branch}","tags_url":"https://api.github.com/repos/porx/semver.org/tags","blobs_url":"https://api.github.com/repos/porx/semver.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/porx/semver.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/porx/semver.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/porx/semver.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/porx/semver.org/statuses/{sha}","languages_url":"https://api.github.com/repos/porx/semver.org/languages","stargazers_url":"https://api.github.com/repos/porx/semver.org/stargazers","contributors_url":"https://api.github.com/repos/porx/semver.org/contributors","subscribers_url":"https://api.github.com/repos/porx/semver.org/subscribers","subscription_url":"https://api.github.com/repos/porx/semver.org/subscription","commits_url":"https://api.github.com/repos/porx/semver.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/porx/semver.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/porx/semver.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/porx/semver.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/porx/semver.org/contents/{+path}","compare_url":"https://api.github.com/repos/porx/semver.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/porx/semver.org/merges","archive_url":"https://api.github.com/repos/porx/semver.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/porx/semver.org/downloads","issues_url":"https://api.github.com/repos/porx/semver.org/issues{/number}","pulls_url":"https://api.github.com/repos/porx/semver.org/pulls{/number}","milestones_url":"https://api.github.com/repos/porx/semver.org/milestones{/number}","notifications_url":"https://api.github.com/repos/porx/semver.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/porx/semver.org/labels{/name}","releases_url":"https://api.github.com/repos/porx/semver.org/releases{/id}","deployments_url":"https://api.github.com/repos/porx/semver.org/deployments","created_at":"2018-08-18T11:26:38Z","updated_at":"2018-08-27T21:32:37Z","pushed_at":"2018-08-27T21:32:36Z","git_url":"git://github.com/porx/semver.org.git","ssh_url":"git@github.com:porx/semver.org.git","clone_url":"https://github.com/porx/semver.org.git","svn_url":"https://github.com/porx/semver.org","homepage":"semver.org","size":596,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"semver:gh-pages","ref":"gh-pages","sha":"32d0d15bbff4c1faadddd4d6534dde3883d8da00","user":{"login":"semver","id":8051653,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwNTE2NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8051653?v=4","gravatar_id":"","url":"https://api.github.com/users/semver","html_url":"https://github.com/semver","followers_url":"https://api.github.com/users/semver/followers","following_url":"https://api.github.com/users/semver/following{/other_user}","gists_url":"https://api.github.com/users/semver/gists{/gist_id}","starred_url":"https://api.github.com/users/semver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semver/subscriptions","organizations_url":"https://api.github.com/users/semver/orgs","repos_url":"https://api.github.com/users/semver/repos","events_url":"https://api.github.com/users/semver/events{/privacy}","received_events_url":"https://api.github.com/users/semver/received_events","type":"Organization","site_admin":false},"repo":{"id":437179,"node_id":"MDEwOlJlcG9zaXRvcnk0MzcxNzk=","name":"semver.org","full_name":"semver/semver.org","owner":{"login":"semver","id":8051653,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwNTE2NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8051653?v=4","gravatar_id":"","url":"https://api.github.com/users/semver","html_url":"https://github.com/semver","followers_url":"https://api.github.com/users/semver/followers","following_url":"https://api.github.com/users/semver/following{/other_user}","gists_url":"https://api.github.com/users/semver/gists{/gist_id}","starred_url":"https://api.github.com/users/semver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semver/subscriptions","organizations_url":"https://api.github.com/users/semver/orgs","repos_url":"https://api.github.com/users/semver/repos","events_url":"https://api.github.com/users/semver/events{/privacy}","received_events_url":"https://api.github.com/users/semver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/semver/semver.org","description":"Semantic Versioning spec and website","fork":false,"url":"https://api.github.com/repos/semver/semver.org","forks_url":"https://api.github.com/repos/semver/semver.org/forks","keys_url":"https://api.github.com/repos/semver/semver.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/semver/semver.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/semver/semver.org/teams","hooks_url":"https://api.github.com/repos/semver/semver.org/hooks","issue_events_url":"https://api.github.com/repos/semver/semver.org/issues/events{/number}","events_url":"https://api.github.com/repos/semver/semver.org/events","assignees_url":"https://api.github.com/repos/semver/semver.org/assignees{/user}","branches_url":"https://api.github.com/repos/semver/semver.org/branches{/branch}","tags_url":"https://api.github.com/repos/semver/semver.org/tags","blobs_url":"https://api.github.com/repos/semver/semver.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/semver/semver.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/semver/semver.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/semver/semver.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/semver/semver.org/statuses/{sha}","languages_url":"https://api.github.com/repos/semver/semver.org/languages","stargazers_url":"https://api.github.com/repos/semver/semver.org/stargazers","contributors_url":"https://api.github.com/repos/semver/semver.org/contributors","subscribers_url":"https://api.github.com/repos/semver/semver.org/subscribers","subscription_url":"https://api.github.com/repos/semver/semver.org/subscription","commits_url":"https://api.github.com/repos/semver/semver.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/semver/semver.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/semver/semver.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/semver/semver.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/semver/semver.org/contents/{+path}","compare_url":"https://api.github.com/repos/semver/semver.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/semver/semver.org/merges","archive_url":"https://api.github.com/repos/semver/semver.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/semver/semver.org/downloads","issues_url":"https://api.github.com/repos/semver/semver.org/issues{/number}","pulls_url":"https://api.github.com/repos/semver/semver.org/pulls{/number}","milestones_url":"https://api.github.com/repos/semver/semver.org/milestones{/number}","notifications_url":"https://api.github.com/repos/semver/semver.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/semver/semver.org/labels{/name}","releases_url":"https://api.github.com/repos/semver/semver.org/releases{/id}","deployments_url":"https://api.github.com/repos/semver/semver.org/deployments","created_at":"2009-12-14T22:45:29Z","updated_at":"2018-08-28T09:41:30Z","pushed_at":"2018-08-27T21:36:46Z","git_url":"git://github.com/semver/semver.org.git","ssh_url":"git@github.com:semver/semver.org.git","clone_url":"https://github.com/semver/semver.org.git","svn_url":"https://github.com/semver/semver.org","homepage":"semver.org","size":590,"stargazers_count":269,"watchers_count":269,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":130,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":130,"open_issues":6,"watchers":269,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/semver/semver.org/pulls/195"},"html":{"href":"https://github.com/semver/semver.org/pull/195"},"issue":{"href":"https://api.github.com/repos/semver/semver.org/issues/195"},"comments":{"href":"https://api.github.com/repos/semver/semver.org/issues/195/comments"},"review_comments":{"href":"https://api.github.com/repos/semver/semver.org/pulls/195/comments"},"review_comment":{"href":"https://api.github.com/repos/semver/semver.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/semver/semver.org/pulls/195/commits"},"statuses":{"href":"https://api.github.com/repos/semver/semver.org/statuses/b223317db7e2c8ca0d67378e3863f81f9abef24b"}},"author_association":"NONE"}}
{"actor":{"display_login":"sglumac"}}