Skip to content

Commit f465aca

Browse files
author
Tyler Deemer
committed
Merge branch 'master' into ViewCSPInWebview
2 parents e97910b + e05bcac commit f465aca

File tree

12 files changed

+277
-58
lines changed

12 files changed

+277
-58
lines changed

GOVERNANCE.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# vscode-objectscript Governance
2+
3+
## Overview
4+
5+
This is a consensus-based community project with strong leadership direction provided by the project management committee (PMC). Anyone with an interest in the project can join the community, contribute code, and participate in the decision making process. This document describes how that participation takes place and how to set about earning merit within the project community.
6+
7+
## Roles and Responsibilities
8+
9+
### Users
10+
11+
Users are community members who have a need for the project. They are the most important members of the community and without them the project would have no purpose. Anyone can be a user; there are no special requirements.
12+
13+
The project asks its users to participate in the project and community as much as possible. User contributions enable the project team to ensure that they are satisfying the needs of those users. Common user contributions include (but are not limited to):
14+
15+
- evangelising about the project (e.g. a link on a website and word-of-mouth awareness raising)
16+
- informing developers of strengths and weaknesses from a new user perspective
17+
- providing moral support (a ‘thank you’ goes a long way)
18+
- providing financial support (the software is open source, but its developers need to eat)
19+
20+
Users who continue to engage with the project and its community will often become more and more involved. Such users may find themselves becoming contributors, as described in the next section.
21+
22+
### Contributors
23+
24+
Contributors are community members who contribute in concrete ways to the project. Anyone can become a contributor, and contributions can take many forms, as detailed in a separate document. There is no expectation of commitment to the project, no specific skill requirements and no selection process.
25+
26+
In addition to their actions as users, contributors may also find themselves doing one or more of the following:
27+
28+
- supporting new users (existing users are often the best people to support new users)
29+
- reporting bugs
30+
- identifying requirements
31+
- providing graphics and web design
32+
- programming
33+
- assisting with project infrastructure
34+
- writing documentation
35+
- fixing bugs
36+
- adding features
37+
38+
Contributors engage with the project through the issue tracker, or by writing or editing documentation. They submit changes to the project itself via pull requests, which will be considered for inclusion in the project by existing committers (see next section). Pull requests with full test coverage will receive greater consideration than those without.
39+
40+
As contributors gain experience and familiarity with the project, their profile within, and commitment to, the community will increase. At some stage, they may find themselves being nominated for committership.
41+
42+
### Committers
43+
44+
Committers are contributors who have made several valuable contributions to the project and are now relied upon to both write code directly to the repository and screen the contributions of others. In many cases they are programmers but it is also possible that they contribute in a different role. Typically, a committer will focus on a specific aspect of the project, and will bring a level of expertise and understanding that earns them the respect of the community and the PMC. The role of committer is not an official one, it is simply a position that influential members of the community will find themselves in as the PMC looks to them for guidance and support.
45+
46+
Committers have no authority over the overall direction of the project. However, they do have the ear of the PMC. It is a committer’s job to ensure that the PMC is aware of the community’s needs and collective objectives, and to help develop or elicit appropriate contributions to the project. Often, committers are given informal control over their specific areas of responsibility, and are assigned rights to directly modify certain areas of the source code. That is, although committers do not have explicit decision-making authority, they will often find that their actions are synonymous with the decisions made by the PMC.
47+
48+
### Project management committee
49+
50+
The project management committee (PMC) sets the strategic objectives of the project and communicates these clearly to the community. It also has to understand the community as a whole and strive to satisfy as many conflicting needs as possible, while ensuring that the project's long term success.
51+
52+
It consists of those individuals identified as ‘project owners’ on the development site. The PMC has additional responsibilities over and above those of a committer. These responsibilities ensure the smooth running of the project. PMC members are expected to review code contributions, participate in strategic planning, approve changes to the governance model and manage the copyrights within the project outputs.
53+
54+
The PMC votes on new committers. It also makes decisions when community consensus cannot be reached. In addition, the PMC has access to the project’s private mailing list and its archives. This list is used for sensitive issues, such as votes for new committers and legal matters that cannot be discussed in public. It may also be used for project management or planning.
55+
56+
Membership of the PMC is by invitation from the existing PMC members. A nomination will result in discussion and then a vote by the existing PMC members. PMC membership votes are subject to consensus approval of the current PMC members.
57+
58+
### PMC Chair
59+
60+
The PMC Chair is a single individual, voted for by the PMC members. Once someone has been appointed Chair, they remain in that role until they choose to retire, or the PMC casts a two-thirds majority vote to remove them.
61+
62+
The PMC Chair has no additional authority over other members of the PMC: the role is one of coordinator and facilitator. The Chair is also expected to ensure that all governance processes are adhered to, and has the casting vote when the project fails to reach consensus.
63+
64+
## Contribution process
65+
66+
## Decision making process
67+
68+
In order to ensure that the project is not bogged down by endless discussion and continual voting, the project operates a policy of lazy consensus. This allows the majority of decisions to be made without resorting to a formal vote.
69+
70+
### Lazy consensus
71+
72+
Decision making typically involves the following steps:
73+
74+
- Proposal
75+
- Discussion
76+
- Vote (if consensus is not reached through discussion)
77+
- Decision
78+
79+
Any community member can make a proposal for consideration by the community. In order to initiate a discussion about a new idea, they should file an issue and optionally submit a patch implementing the proposal. This will prompt a review and, if necessary, a discussion of the idea. The goal of this review and discussion is to gain approval for the contribution. Since most people in the project community have a shared vision, there is often little need for discussion in order to reach consensus.
80+
81+
In general, as long as nobody explicitly opposes a proposal or patch, it is recognised as having the support of the community. This is called lazy consensus - that is, those who have not stated their opinion explicitly have implicitly agreed to the implementation of the proposal.
82+
83+
At least 72 hours notice will be provided before assuming that there are no objections to the proposal. This requirement ensures that everyone is given enough time to read, digest and respond to the proposal. This time period is chosen so as to be as inclusive as possible of all participants, regardless of their location and time commitments.
84+
85+
### Voting
86+
87+
Not all decisions can be made using lazy consensus. Issues such as those affecting the strategic direction or legal standing of the project must gain explicit approval in the form of a vote. Every member of the community is encouraged to express their opinions in all discussion and all votes. However, only project committers and/or PMC members (as defined above) have binding votes for the purposes of decision making.

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![Known Vulnerabilities](https://snyk.io/test/github/daimor/vscode-objectscript/badge.svg)](https://snyk.io/test/github/daimor/vscode-objectscript)
2-
[![Gitter](https://badges.gitter.im/daimor/vscode-objectscript.svg)](https://gitter.im/daimor/vscode-objectscript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
1+
[![Known Vulnerabilities](https://snyk.io/test/github/intersystems-community/vscode-objectscript/badge.svg)](https://snyk.io/test/github/intersystems-community/vscode-objectscript)
2+
[![Gitter](https://badges.gitter.im/intersystems-community/vscode-objectscript.svg)](https://gitter.im/intersystems-community/vscode-objectscript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
33
[![](https://img.shields.io/visual-studio-marketplace/i/daimor.vscode-objectscript.svg)](https://marketplace.visualstudio.com/items?itemName=daimor.vscode-objectscript)
44

55
[![](https://img.shields.io/badge/InterSystems-IRIS-blue.svg)](https://www.intersystems.com/products/intersystems-iris/)
@@ -15,12 +15,12 @@
1515
## Features
1616

1717
- InterSystems ObjectScript code highlighting support.
18-
![example](https://raw.githubusercontent.com/daimor/vscode-objectscript/master/images/screenshot.png)
18+
![example](https://raw.githubusercontent.com/intersystems-community/vscode-objectscript/master/images/screenshot.png)
1919
- Debugging ObjectScript code
2020
- Intellisense support for commands, system functions, class members
2121
- Export existing sources to the working directory: press Cmd/Ctrl+Shift+P, type 'ObjectScript', press Enter.
2222
- Save and compile a class: press Ctrl+F7 (⌘+F7) or select "ObjectScript: Save and compile" from Cmd/Ctrl+Shift+P menu.
23-
- Server Explorer with possibility to export items![ServerExplorer](https://raw.githubusercontent.com/daimor/vscode-objectscript/master/images/explorer.png)
23+
- Server Explorer with possibility to export items![ServerExplorer](https://raw.githubusercontent.com/intersystems-community/vscode-objectscript/master/images/explorer.png)
2424
- Edit directly on server
2525

2626
## Installation
@@ -29,7 +29,7 @@ Install [Visual Studio Code](https://code.visualstudio.com/) first.
2929

3030
Open VSCode. Go to extensions and search for "ObjectScript" like it is shown on the attached screenshot and install it.
3131
Or install from ObjectScript extension page on [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=daimor.vscode-objectscript)
32-
![installation](https://raw.githubusercontent.com/daimor/vscode-objectscript/master/images/installation.gif)
32+
![installation](https://raw.githubusercontent.com/intersystems-community/vscode-objectscript/master/images/installation.gif)
3333

3434
## Configure connection
3535

@@ -50,10 +50,14 @@ To be able to use many plugin features, you need to configure the connection to
5050
Or you can edit it through settings editor. Which you can open from menu *Code* > *Preferences* > *Settings* for macOS or *File* > *Preferences* > *Settings* for Windows, search for "workspace settings" through Command Palette [⌘⇧P/Ctrl+Shift+P] or by shortcut [⌘,/Ctrl+,].
5151

5252
- Find a 'objectscript', do not forget to set `active` to `true`
53-
`port` should follow to web port of instance (usually by default, 52773 for Caché/Ensemble, 52773 for IRIS) ![Settings UI](https://raw.githubusercontent.com/daimor/vscode-objectscript/master/images/settings.png)
53+
`port` should follow to web port of instance (usually by default, 52773 for Caché/Ensemble, 52773 for IRIS) ![Settings UI](https://raw.githubusercontent.com/intersystems-community/vscode-objectscript/master/images/settings.png)
5454
- Change settings according to your Caché/IRIS instance
5555
- You will see related output in "Output" while switched to "ObjectScript" channel (right drop-down menu on top of the output window)
5656

5757
## Notes
5858

59-
For Caché/IRIS instance with maximum security level, add '%Development' role for '/api/atelier/' web-application ( [More](https://community.intersystems.com/post/using-atelier-rest-api) )
59+
For Caché/IRIS instance with maximum security level, add '%Development' role for '/api/atelier/' web-application ( [More](https://community.intersystems.com/post/using-atelier-rest-api) )
60+
If you are getting 'ERROR #5540: SQLCODE: -99 Message: User xxx is not privileged for the operation' when you try to get/refresh class/routine/includes lists, grant a following SQL Procedure to your user on target namespace.
61+
```SQL
62+
grant execute on %Library.RoutineMgr_StudioOpenDialog to xxx
63+
```

package-lock.json

Lines changed: 88 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-objectscript",
33
"displayName": "InterSystems ObjectScript",
44
"description": "InterSystems ObjectScript language support for Visual Studio Code",
5-
"version": "0.8.3-SNAPSHOT",
5+
"version": "0.8.4-SNAPSHOT",
66
"icon": "images/logo.png",
77
"aiKey": "7047c4a1-fc13-43ea-a485-01a74ff0b2af",
88
"categories": [
@@ -19,7 +19,7 @@
1919
],
2020
"repository": {
2121
"type": "git",
22-
"url": "https://github.com/daimor/vscode-objectscript"
22+
"url": "https://github.com/intersystems-community/vscode-objectscript"
2323
},
2424
"license": "MIT",
2525
"preview": true,
@@ -734,6 +734,7 @@
734734
"eslint-plugin-prettier": "^3.1.2",
735735
"eslint-plugin-promise": "^4.2.1",
736736
"extend": "^3.0.2",
737+
"minimist": ">=1.2.2",
737738
"mocha": "^6.2.2",
738739
"prettier": "^1.19.1",
739740
"tape": "^4.13.0",
@@ -746,11 +747,12 @@
746747
"await-notify": "^1.0.1",
747748
"glob": "^7.1.6",
748749
"iconv-lite": "^0.5.1",
750+
"mkdirp": "^1.0.3",
749751
"request": "^2.88.0",
750752
"request-promise": "^4.2.5",
751753
"vscode-cache": "^0.3.0",
752-
"vscode-debugadapter": "^1.38.0",
753-
"vscode-debugprotocol": "^1.38.0",
754+
"vscode-debugadapter": "^1.39.1",
755+
"vscode-debugprotocol": "^1.39.0",
754756
"vscode-extension-telemetry": "^0.1.2",
755757
"ws": "^7.2.1",
756758
"xmldom": "^0.1.31"

0 commit comments

Comments
 (0)