Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Unique identifier file not really being unique #10341

Merged
merged 2 commits into from
Apr 18, 2018

Conversation

abernix
Copy link
Contributor

@abernix abernix commented Apr 5, 2018

This PR removes the .meteor/.id file from the repository. This is safe to delete because of this code in Meteor.

This file is meant to be a unique identifier for a project and is generated automatically in new (Meteor) projects. Since Rocket.Chat is (generally, at least?) instead cloned as a boilerplate for a new application, this is less ideal since each project receives the same unique identifier. The reason this is not ideal is explained within the comment of the file I've removed:

# This file contains a token that is unique to your project.
# Check it into your repository along with the rest of this directory.
# It can be used for purposes such as:
# - ensuring you don't accidentally deploy one app on top of another
# - providing package authors with aggregated statistics

Most importantly, this affects the ability to see any sort of traction on rocketchat:* packages (or any packages loaded from Atmosphere) which might be hosted on Atmosphere (though I realize most are local) since they are aggregated together. This means that 10 or 1000 installs of packages in RocketChat might just be tracked as 1!

This file is meant to be a unique identifier for a project and is generated automatically in new (Meteor) projects.  Since Rocket.Chat is (generally, at least?) instead cloned as a boilerplate for a new application, this is less ideal since each project receives the same unique identifier.  The reason this is not ideal is explained within the comment of the file I've removed:

https://github.com/RocketChat/Rocket.Chat/blob/a9aea3640262482d7111abe3b5c231aa80da897e/.meteor/.id#L1-L5

Most importantly, this affects the ability to see any sort of traction on `rocketchat:*` packages (or _any_ packages loaded from Atmosphere) which might be hosted on Atmosphere (though I realize most are local) since they are aggregated together.  This means that 10 or 1000 installs of packages in RocketChat might just be tracked as 1!
@CLAassistant
Copy link

CLAassistant commented Apr 5, 2018

CLA assistant check
All committers have signed the CLA.

@geekgonecrazy
Copy link
Contributor

Thanks for opening this! Would indeed be great to see more accurately what packages are being used in other projects.

@geekgonecrazy geekgonecrazy added this to the 0.64.0 milestone Apr 18, 2018
@graywolf336 graywolf336 changed the title Remove "unique" identifier file. [FIX] Unique identifier file not really being unique Apr 18, 2018
@graywolf336 graywolf336 merged commit 27413c6 into RocketChat:develop Apr 18, 2018
@abernix abernix deleted the patch-1 branch April 19, 2018 07:55
MarcosSpessatto added a commit that referenced this pull request Apr 19, 2018
…-api-chat-postmessage-validations

* commit 'a9fb4da5c847a456990a5d60369f0f52ff4a8bd8': (137 commits)
  Remove "secret" from REST endpoint /settings.oauth response
  [FIX] Directory sort and column sizes were wrong (#10403)
  [FIX] Add oauth services missing fields, and indicate whether the oauth service is customized (#10299)
  Show error message when email verification fails (#10446)
  Correct the column positions in the directory search for users (#10454)
  Fixed custom fields misalignment in registration form (#10463)
  [FIX] Unique identifier file not really being unique (#10341)
  [OTHER] More Listeners for Apps & Utilize Promises inside Apps (#10335)
  [FIX] Empty panel after changing a user's username (#10404)
  [FIX] Russian translation of "False" (#10418)
  [FIX] Links being embedded inside of blockquotes (#10496)
  [FIX] The 'channel.messages' REST API Endpoint error (#10485)
  [OTHER] Develop sync (#10487)
  [FIX] Button on user info contextual bar scrolling with the content (#10358)
  [FIX] "Idle Time Limit" using milliseconds instead of seconds (#9824)
  [NEW] Body of the payload on an incoming webhook is included on the request object (#10259)
  [FIX] Missing i18n translation key for "Unread" (#10387)
  [FIX] Owner unable to delete channel or group from APIs (#9729)
  [NEW] REST endpoint to recover forgotten password (#10371)
  Add REST endpoint chat.reportMessage, to report a message (#10354)
  ...
@rodrigok rodrigok mentioned this pull request Apr 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants