@@ -29,19 +29,36 @@ is not limited to:
29
29
- Doxygen
30
30
31
31
32
- Does Cloe support feature X for my controller Y ?
33
- """"""""""""""""""""""""""""""""""""""""""""""""
32
+ How do I avoid constant version changes like "0.18.0-38-g46e9b0b" ?
33
+ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
34
34
35
- This will be documented in the future.
35
+ Generally, producing an immutable package is a good thing. Each commit that
36
+ can be checked out should produce a differently versioned package, since the
37
+ contents are also different. During development, this can produce a plethora
38
+ of packages and leads to forced recompilation every time a commit is made or
39
+ the git hash is changed.
36
40
41
+ For example, running ``make smoketest-deps smoketest `` in the background and
42
+ then committing work while it is running will lead to smoketests failing
43
+ because Conan can't find the new package version.
37
44
38
- Will you implement my controller?
39
- """""""""""""""""""""""""""""""""
45
+ The solution is to set the version explicitly, which can be done by writing
46
+ a string to the ``VERSION `` file in the repository root. This version should
47
+ have a suffix that makes clear that it is a volatile package, such as
48
+ ``-nightly ``. For example, in the repository root:
40
49
41
- No, we will not. However, we will help you. See :doc: ` develop/new-controller `.
50
+ echo "0.19.0-nightly" > VERSION
42
51
52
+ The ``VERSION `` file is listed in the ``.gitignore `` and is not committed.
53
+ Just remember when you are using it, that every package you compile from that
54
+ repository will have that version, even if you check out different states.
43
55
44
- How do I integrate Cloe in my CI pipeline?
45
- """"""""""""""""""""""""""""""""""""""""""
46
56
47
- This will be documented in the future.
57
+ How do I get rid of the "-dirty" suffix on my versions?
58
+ """""""""""""""""""""""""""""""""""""""""""""""""""""""
59
+
60
+ This indicates you have uncommited changes in the repository. Commit your
61
+ changes or set the version explicitly in the ``VERSION `` file in your
62
+ repository root.
63
+
64
+ See the previous question.
0 commit comments