Skip to content

Commit d301c10

Browse files
refactor: remove td-tools package
1 parent 456ce93 commit d301c10

65 files changed

Lines changed: 162 additions & 4107 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ src/**/*.js
4545

4646
# ignore private packages
4747
packages/*
48-
!packages/td-tools
4948
!packages/core
5049
!packages/binding-file
5150
!packages/binding-http

CONTRIBUTING.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thanks for your interest in this project. General information
44
regarding source code management, builds, coding standards, and
55
more can be found here:
66

7-
- https://projects.eclipse.org/projects/iot.thingweb/developer
7+
- https://projects.eclipse.org/projects/iot.thingweb/developer
88

99
## Legal Requirements
1010

@@ -13,22 +13,22 @@ This process helps us in creating great open source software within a safe legal
1313

1414
Thus, before your contribution can be accepted by the project team, contributors must electronically sign the [Eclipse Contributor Agreement (ECA)](http://www.eclipse.org/legal/ECA.php) and follow these preliminary steps:
1515

16-
- Obtain an [Eclipse Foundation account](https://accounts.eclipse.org/)
17-
- Anyone who currently uses Eclipse Bugzilla or Gerrit systems already has one of those
18-
- Newcomers can [create a new account](https://accounts.eclipse.org/user/register?destination=user)
19-
- Add your GiHub username to your Eclipse Foundation account
20-
- ([Log into Eclipse](https://accounts.eclipse.org/))
21-
- Go to the _Edit Profile_ tab
22-
- Fill in the _GitHub ID_ under _Social Media Links_ and save
23-
- Sign the [Eclipse Contributor Agreement](http://www.eclipse.org/legal/ECA.php)
24-
- ([Log into Eclipse](https://accounts.eclipse.org/))
25-
- If the _Status_ entry _Eclipse Contributor Agreement_ has a green checkmark, the ECA is already signed
26-
- If not, go to the _Eclipse Contributor Agreement_ tab or follow the corresponding link under _Status_
27-
- Fill out the form and sign it electronically
28-
- Sign-off every commit using the same email address used for your Eclipse account
29-
- Set the Git user email address with `git config user.email "<your Eclipse account email>"`
30-
- Add the `-s` flag when you make the commit(s), e.g. `git commit -s -m "feat: add support for magic"`
31-
- Open a [Pull Request](https://github.com/eclipse-thingweb/node-wot/pulls)
16+
- Obtain an [Eclipse Foundation account](https://accounts.eclipse.org/)
17+
- Anyone who currently uses Eclipse Bugzilla or Gerrit systems already has one of those
18+
- Newcomers can [create a new account](https://accounts.eclipse.org/user/register?destination=user)
19+
- Add your GiHub username to your Eclipse Foundation account
20+
- ([Log into Eclipse](https://accounts.eclipse.org/))
21+
- Go to the _Edit Profile_ tab
22+
- Fill in the _GitHub ID_ under _Social Media Links_ and save
23+
- Sign the [Eclipse Contributor Agreement](http://www.eclipse.org/legal/ECA.php)
24+
- ([Log into Eclipse](https://accounts.eclipse.org/))
25+
- If the _Status_ entry _Eclipse Contributor Agreement_ has a green checkmark, the ECA is already signed
26+
- If not, go to the _Eclipse Contributor Agreement_ tab or follow the corresponding link under _Status_
27+
- Fill out the form and sign it electronically
28+
- Sign-off every commit using the same email address used for your Eclipse account
29+
- Set the Git user email address with `git config user.email "<your Eclipse account email>"`
30+
- Add the `-s` flag when you make the commit(s), e.g. `git commit -s -m "feat: add support for magic"`
31+
- Open a [Pull Request](https://github.com/eclipse-thingweb/node-wot/pulls)
3232

3333
For more information, please see the Eclipse Committer Handbook:
3434
https://www.eclipse.org/projects/handbook/#resources-commit
@@ -100,20 +100,20 @@ To reduce the size of the installation from about 800 MByte down to about 200 MB
100100

101101
#### Troubleshooting
102102

103-
- Build error about `No matching version found for @node-wot/...` or something about `match`
104-
- try `npm run unlock` from the project root before building
105-
- `sudo npm run link` does not work
106-
- try `npm run unlock` from the project root before calling `[sudo] npm run link`
107-
- try `npm link` in each package directory in this order: td-tools, core, binding-\*, cli, demo-servients
108-
- Error mesage for `npm link @node-wot/<module>`
109-
`ELOOP: too many symbolic links encountered, stat '/usr/lib/node_modules/@node-wot/<module>`
103+
- Build error about `No matching version found for @node-wot/...` or something about `match`
104+
- try `npm run unlock` from the project root before building
105+
- `sudo npm run link` does not work
106+
- try `npm run unlock` from the project root before calling `[sudo] npm run link`
107+
- try `npm link` in each package directory in this order: core, binding-\*, cli, demo-servients
108+
- Error mesage for `npm link @node-wot/<module>`
109+
`ELOOP: too many symbolic links encountered, stat '/usr/lib/node_modules/@node-wot/<module>`
110110
1. Run `npm run link` in `thingweb.node-wot` again
111111
2. Remove `node_modules` in the targeted project
112112
3. Remove all `@node-wot/<module>` dependencies in your `package.json`
113113
4. Run `npm i` again
114114
5. Install the packages with `npm link @node-wot/<module>`
115-
- Build error around `prebuild: npm run bootstrap`
116-
- This has been seen failing on WSL. Try using a more recent Node.js version
115+
- Build error around `prebuild: npm run bootstrap`
116+
- This has been seen failing on WSL. Try using a more recent Node.js version
117117

118118
## Adding a New Protocol Binding
119119

@@ -205,28 +205,28 @@ Commit messages must be structured as follows:
205205
<footer>
206206
```
207207
208-
- `<type>`: A noun specifying the type of change, followed by a colon and a space. The types allowed are:
209-
- `feat`: A new feature
210-
- `fix`: A bug fix
211-
- `refactor`: Code change that neither fixes a bug or adds a feature (not relevant for end user)
212-
- `perf`: Change improves performance
213-
- `style`: Change does not affect the code (e.g., formatting, whitespaces)
214-
- `test`: Adding missing tests
215-
- `chore`: Change of build process or auxiliary tools
216-
- `docs`: Documentation only changes
217-
- `<scope>`: Optional. A term of free choice specifying the place of the commit change, enclosed in parentheses. Examples:
218-
- `feat(binding-coap): ...`
219-
- `fix(cli): ...`
220-
- `docs: ...` (no scope, as it is optional)
221-
- `<subject>`: A succinct description of the change, e.g., `add support for magic`
222-
- Use the imperative, present tense: "add", not "added" nor "adds"
223-
- Do not capitalize first letter: "add", not "Add"
224-
- No dot (.) at the end
225-
- `<body>`: Optional. Can include the motivation for the change and contrast this with previous behavior.
226-
- Just as in the subject, use the imperative, present tense: "change" not "changed" nor "changes"
227-
- `<footer>`: Optional. Can be used to automatically close GitHub Issues and to document breaking changes.
228-
- The prefix `BREAKING CHANGE: ` idicates API breakage (corresponding to a major version change) and everything after is a description what changed and what needs to be done to migrate
229-
- GitHub Issue controls such as `Fixes #123` or `Closes #4711` must come before a potential `BREAKING CHANGE: `.
208+
- `<type>`: A noun specifying the type of change, followed by a colon and a space. The types allowed are:
209+
- `feat`: A new feature
210+
- `fix`: A bug fix
211+
- `refactor`: Code change that neither fixes a bug or adds a feature (not relevant for end user)
212+
- `perf`: Change improves performance
213+
- `style`: Change does not affect the code (e.g., formatting, whitespaces)
214+
- `test`: Adding missing tests
215+
- `chore`: Change of build process or auxiliary tools
216+
- `docs`: Documentation only changes
217+
- `<scope>`: Optional. A term of free choice specifying the place of the commit change, enclosed in parentheses. Examples:
218+
- `feat(binding-coap): ...`
219+
- `fix(cli): ...`
220+
- `docs: ...` (no scope, as it is optional)
221+
- `<subject>`: A succinct description of the change, e.g., `add support for magic`
222+
- Use the imperative, present tense: "add", not "added" nor "adds"
223+
- Do not capitalize first letter: "add", not "Add"
224+
- No dot (.) at the end
225+
- `<body>`: Optional. Can include the motivation for the change and contrast this with previous behavior.
226+
- Just as in the subject, use the imperative, present tense: "change" not "changed" nor "changes"
227+
- `<footer>`: Optional. Can be used to automatically close GitHub Issues and to document breaking changes.
228+
- The prefix `BREAKING CHANGE: ` idicates API breakage (corresponding to a major version change) and everything after is a description what changed and what needs to be done to migrate
229+
- GitHub Issue controls such as `Fixes #123` or `Closes #4711` must come before a potential `BREAKING CHANGE: `.
230230
231231
Examples:
232232
@@ -257,17 +257,17 @@ To avoid such warnings, please use `npm run lint` for linting your code and `npm
257257

258258
## Pull Requests and Feature Branches
259259

260-
- Do not merge with master while developing a new feature or providing a fix in a new branch
261-
- Do a rebase if updates in the master such as a fix are required:
260+
- Do not merge with master while developing a new feature or providing a fix in a new branch
261+
- Do a rebase if updates in the master such as a fix are required:
262262

263263
```
264264
git checkout master && git pull && git checkout - && git rebase master
265265
```
266266

267-
- Pull Requests are merged using rebase
267+
- Pull Requests are merged using rebase
268268

269269
## Contact
270270

271271
Contact the project developers via the project's "dev" list.
272272

273-
- https://dev.eclipse.org/mailman/listinfo/thingweb-dev
273+
- https://dev.eclipse.org/mailman/listinfo/thingweb-dev

0 commit comments

Comments
 (0)