Project homepage Mailing List  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"en-US,en;q\u003d0.5", "gen_ut":1571200170, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"", "f":3, "items": [ {"schema":"libjg2-1", "cid":"b77cf2c6a35b6c1da434d77783ec1b76", "oid":{ "oid": "1cae39bb695b7201d43e8cc25eda98e625ceae2f", "alias": [ "refs/heads/master"]},"blobname": "READMEs/", "blob": "# lws release policy\n\n## Master branch\n\nMaster branch is the default and all new work happens there. It's unstable and\nsubject to history rewrites, patches moving about and being squashed etc. In\nterms of it working, it is subject to passing CI tests including a battery of\nruntime tests, so if it is passing CI as it usually is then it's probably in\nusable shape.\n\n![all work happens on master](../doc-assets/lws-relpol-1.svg)\n\nIf you have patches (you are a hero) they should be targeted at master.\n\nTo follow such a branch, `git pull` is the wrong tool... the starting point\nof what you currently have may no longer exist remotely due to rearranging the\npatches there. Instead use a flow like this:\n\n```\n $ git fetch +master:m \u0026\u0026 git reset --hard m\n```\n\nThis fetches current remote master into local branch `m`, and then forces your\nlocal checkout to exactly match `m`. This replaces your checked-out tree\nincluding any of your local changes, so stash those first, or use stgit or so\nto pop them before updating your basis against lws master.\n\n## Stable branches\n\nMaster is very useful for coordinating development, and integrating WIP,\nbut for distros or integration into large user projects some stability is often\nmore desirable than the latest development work.\n\nPeriodically, when master seems in good shape and various new developments seem\nto be working, it's copied out into a versioned stable branch, like `v3.0-stable`.\n\n![stable branches are copied from master](../doc-assets/lws-relpol-2.svg)\n\nThe initial copy is tagged with, eg, `v3.0.0`.\n\n(At that time, master's logical version is set to \u0022...99\u0022, eg, `v3.0.99` so\nversion comparisons show that version of master is \u0022later\u0022 than any other\nv3.0 version, which will never reach 99 point releases itself, but \u0022earlier\u0022\nthan, eg, v3.1.)\n\n## Backport policy\n\nWork continues on master, and as part of that usually bugs are reported and / or\nfixes found that may apply not just to current master, but the version of master\nthat was copied to form the last -stable branch.\n\nIn that case, the patch may be backported to the last stable branch to also fix\nthe bug there. In the case of refactors or major internal improvements, these\ntypically do not get backported.\n\nThis applies only to fixes and public API-neutral internal changes to lws... if\nnew features were backported or API changes allowed, then there would be\nmultiple apis under the same version name and library soname, which is\nmadness.\n\nWhen new stable releases are made, the soname is bumped reflecting the API is\ndifferent than that of previous versions.\n\n![backports from master to stable](../doc-assets/lws-relpol-3.svg)\n\nIf there is something you need in a later lws version that is not backported,\nyou need to either backport it yourself (remember that lws is LGPL and you must\nprovide your changes when you distribute the binary) or use a later lws version.\nUsing a more recent version of lws is almost always the correct way.\n\n## Stable point releases\n\nPeriodically fix patches pile up on the -stable branch and are tagged out as\n\u0022point releases\u0022. So if the original stable release was \u0022v3.0.0\u0022, the point\nrelease may be \u0022v3.0.1\u0022.\n\n![point releases of stable](../doc-assets/lws-relpol-4.svg)\n\n## Critical fixes\n\nSometimes a bug is found and fixed that had been hiding for a few versions.\nIf the bug has some security dimension or is otherwise important, we may\nbackport it to a few recent releases, not just the last one. This is pretty\nuncommon though.\n\n![backport to multiple stable branches](../doc-assets/lws-relpol-5.svg)\n\n\n","s":{"c":1571200170,"u": 240}} ],"g": 1325,"chitpc": 0,"ehitpc": 0, "indexed":0 }