Skip to content

Commit 87c893d

Browse files
authored
Merge pull request #610 from forcedotcom/cristi/ospo-compliance
chore: W-18839348 - missing required files for ospo compliance
2 parents 71b39bd + 100dd00 commit 87c893d

File tree

2 files changed

+102
-4
lines changed

2 files changed

+102
-4
lines changed

LICENSE.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020, Salesforce.com, inc.
1+
Copyright (c) 2025, Salesforce, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,
@@ -11,14 +11,14 @@ list of conditions and the following disclaimer.
1111
list of conditions and the following disclaimer in the documentation and/or
1212
other materials provided with the distribution.
1313

14-
* Neither the name of Salesforce.com nor the names of its contributors may be
14+
* Neither the name of Salesforce nor the names of its contributors may be
1515
used to endorse or promote products derived from this software without specific
1616
prior written permission.
1717

18-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18+
THIS SOFTWARE IS PROVIDED BY SALESFORCE AND CONTRIBUTORS "AS IS" AND
1919
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2020
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
21+
DISCLAIMED. IN NO EVENT SHALL SALESFORCE OR CONTRIBUTORS BE LIABLE FOR
2222
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2323
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2424
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON

how_to_license.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
How To License Info
2+
-------------------
3+
4+
This project uses the [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause). The BSD 3-Clause License is a permissive license that allows for maximum freedom in using, modifying, and distributing the software.
5+
6+
For the BSD 3-Clause license, the `LICENSE.txt` file in the root of this repo contains:
7+
8+
```
9+
Copyright (c) 2025, Salesforce, Inc.
10+
All rights reserved.
11+
12+
Redistribution and use in source and binary forms, with or without modification,
13+
are permitted provided that the following conditions are met:
14+
15+
* Redistributions of source code must retain the above copyright notice, this
16+
list of conditions and the following disclaimer.
17+
18+
* Redistributions in binary form must reproduce the above copyright notice, this
19+
list of conditions and the following disclaimer in the documentation and/or
20+
other materials provided with the distribution.
21+
22+
* Neither the name of Salesforce.com nor the names of its contributors may be
23+
used to endorse or promote products derived from this software without specific
24+
prior written permission.
25+
26+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
27+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
30+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
32+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
33+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
35+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36+
```
37+
38+
The shorter version of license text should be added as a comment to all Salesforce-authored source code and configuration files that support comments. This includes file formats like HTML, CSS, JavaScript, XML, etc. which aren't directly code, but are still critical to your project code. Like:
39+
40+
```
41+
/*
42+
* Copyright (c) 2020, Salesforce.com, inc.
43+
* All rights reserved.
44+
*
45+
* Redistribution and use in source and binary forms, with or without modification,
46+
* are permitted provided that the following conditions are met:
47+
*
48+
* * Redistributions of source code must retain the above copyright notice, this
49+
* list of conditions and the following disclaimer.
50+
*
51+
* * Redistributions in binary form must reproduce the above copyright notice, this
52+
* list of conditions and the following disclaimer in the documentation and/or
53+
* other materials provided with the distribution.
54+
*
55+
* * Neither the name of Salesforce.com nor the names of its contributors may be
56+
* used to endorse or promote products derived from this software without specific
57+
* prior written permission.
58+
*
59+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
60+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
61+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
62+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
63+
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
64+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
65+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
66+
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
67+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
68+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
69+
*/
70+
```
71+
72+
Note that there are many tools that exist to do this sort of thing in an automated fashion, without having to manually edit every single file in your project. It is highly recommended that you research some of these tools for your particular language / build system.
73+
74+
For sample, demo, and example code, we recommend the [Unlicense](https://opensource.org/license/unlicense/) license. Create a `LICENSE.txt` file containing:
75+
76+
```
77+
This is free and unencumbered software released into the public domain.
78+
79+
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
80+
software, either in source code form or as a compiled binary, for any purpose,
81+
commercial or non-commercial, and by any means.
82+
83+
In jurisdictions that recognize copyright laws, the author or authors of this
84+
software dedicate any and all copyright interest in the software to the public
85+
domain. We make this dedication for the benefit of the public at large and to
86+
the detriment of our heirs and successors. We intend this dedication to be an
87+
overt act of relinquishment in perpetuity of all present and future rights to
88+
this software under copyright law.
89+
90+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
91+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
92+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
93+
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
94+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
95+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
96+
```
97+
98+
No license header is required for samples, demos, and example code.

0 commit comments

Comments
 (0)