8.36. platformids.custom.reactos

Module ReactOS [doc].

8.36.1. Module

ReactOS releases, currently experimental for platformids.RTE tests.

Uses standard encoding, thus require enum value registration only.

8.36.2. Data

8.36.2.1. RTE_REACTOS

Registration of the ostype value:

RTE_REACTOS        = RTE_WINDOWS   + custom_ostype.add_enum()

8.36.2.2. RTE_REACTOS5_2

Registration of the dist value:

RTE_REACTOS5_2        = RTE_REACTOS   + custom_dist.add_enum()

8.36.2.3. rte2num

Mapping of the rte string and numeric representation to the numeric value.

8.36.2.4. num2rte

Mapping of the rte numeric representation to the string value.

8.36.2.5. num2pretty

Mapping of the rte numeric representation to the pretty string value.

8.36.3. Description

The ReactOS is basically a promissing OS, in particular it may serve as a pretty good replacement for frozen legacy apps within virtual environments. But the project still requires some work to do.

8.36.4. Source

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# -*- coding: utf-8 -*-
"""ReactOS releases, currently experimental for *platformids.RTE* tests.

Uses standard encoding, thus require enum value registration only.
"""
from __future__ import absolute_import

from platformids import rte2num, num2rte, num2pretty, \
    custom_ostype, custom_dist, \
    RTE_WINDOWS


__author__ = 'Arno-Can Uestuensoez'
__license__ = "Artistic-License-2.0 + Forced-Fairplay-Constraints"
__copyright__ = "Copyright (C) 2019 Arno-Can Uestuensoez" \
                " @Ingenieurbuero Arno-Can Uestuensoez"
__version__ = '0.0.1'
__uuid__ = "7add5ded-c39b-4b6e-8c87-1b3a1c150ee9"


RTE_REACTOS       = RTE_WINDOWS     + custom_ostype.add_enum()   #: ReactOS as ostype
RTE_REACTOS5_2    = RTE_REACTOS     + custom_dist.add_enum()     #: ReactOS5_2 as dist compatible to NT5_2

#: mapping of the rte string and numeric representation to the numeric value
rte2num.update(
    {
        'reactos': RTE_REACTOS,
        'reactos5_2': RTE_REACTOS5_2,
    }
)


#: mapping of the rte numeric representation to the string value
num2rte.update(
    {
        RTE_REACTOS: 'reactos',
        RTE_REACTOS5_2: 'reactos5_2',
    }
)


#: pretty print for UI display
num2pretty.update(
    {
        RTE_REACTOS: 'ReactOS',
        RTE_REACTOS5_2: 'ReactOS-5.2',
    }
)

#--------------------------------------------------#
#                                                  #
# optional constants for convenience               #
#                                                  #
#--------------------------------------------------#

RTE_REACTOS049    = RTE_REACTOS5_2  +  0x00000089                             #: ReactOS-0.4.9
RTE_REACTOS0410   = RTE_REACTOS5_2  +  0x0000008a                             #: ReactOS-0.4.10
RTE_REACTOS0411   = RTE_REACTOS5_2  +  0x0000008b                             #: ReactOS-0.4.11
    
    
#: mapping of the rte string and numeric representation to the numeric value
rte2num.update(
    {
        'reactos049': RTE_REACTOS049,
        'reactos0410': RTE_REACTOS0410,
        'reactos0411': RTE_REACTOS0411,
        'reactos5_2': RTE_REACTOS5_2,
    }
)


#: mapping of the rte numeric representation to the string value
num2rte.update(
    {
        RTE_REACTOS049: 'reactos049',
        RTE_REACTOS0410: 'reactos0410',
        RTE_REACTOS0411: 'reactos0411',
        RTE_REACTOS5_2: 'reactos5_2',
    }
)


#: mapping of the pretty print representation
num2pretty.update(
    {
        RTE_REACTOS5_2: 'ReactOS-5.2',
        RTE_REACTOS049: 'ReactOS-0.4.9',
        RTE_REACTOS0410: 'ReactOS-0.4.10',
        RTE_REACTOS0411: 'ReactOS-0.4.11',
    }
)

8.36.5. Download

reactos.py